Skip to content

Commit 4b19366

Browse files
authored
Update upload-artifact action to version 4 in buildtest workflow (#1615)
* Update upload-artifact action to version 4 in buildtest workflow * Disable parallel build for E2E tests in buildtest workflow * Update artifact name to include OS in buildtest workflow
1 parent 73b318b commit 4b19366

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/buildtest.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
directory: ./TestResults
3232
files: '*.cobertura.xml'
3333
- name: Upload test results
34-
uses: actions/upload-artifact@v3
34+
uses: actions/upload-artifact@v4
3535
with:
36-
name: test-results
36+
name: test-results-${{ matrix.os }}
3737
path: ./TestResults
3838
if: ${{ always() }} # Always run this step even on failure
3939

@@ -73,7 +73,7 @@ jobs:
7373
- name: Test
7474
run: |
7575
true > skip.log
76-
env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Tests --logger "SkipTestLogger;file=$PWD/skip.log"
76+
env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Tests --logger "SkipTestLogger;file=$PWD/skip.log" -p:BuildInParallel=false
7777
if [ -s skip.log ]; then
7878
cat skip.log
7979
echo "CASES MUST NOT BE SKIPPED"
@@ -82,7 +82,7 @@ jobs:
8282
- name: AOT Test
8383
run: |
8484
true > skip.log
85-
env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Aot.Tests --logger "SkipTestLogger;file=$PWD/skip.log"
85+
env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Aot.Tests --logger "SkipTestLogger;file=$PWD/skip.log" -p:BuildInParallel=false
8686
if [ -s skip.log ]; then
8787
cat skip.log
8888
echo "CASES MUST NOT BE SKIPPED"

0 commit comments

Comments
 (0)