Skip to content

Commit c1316f4

Browse files
authored
Enhance CI workflow with artifact upload and error handling
Added artifact upload step for PapiPython.dll and modified UnitTest-v8 step to continue on error.
1 parent 2f89f7f commit c1316f4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/unity_unittest.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,17 @@ jobs:
123123
dotnet-version: '6.x.x'
124124
- uses: actions/checkout@v3
125125
- name: UnitTest-v8
126-
shell: cmd
126+
continue-on-error: true
127127
run: |
128128
cd unity
129129
npm i
130130
cd test/dotnet
131-
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64
132-
dumpbin /dependents vsauto-static\bin\Debug\PapiPython.dll
133131
node ../../cli dotnet-test v8_9.4
132+
- name: Upload a Build Artifact
133+
uses: actions/upload-artifact@v5.0.0
134+
with:
135+
name: dll
136+
path: unity\test\dotnet\vsauto-static\bin\Debug\PapiPython.dll
134137
- name: UnitTest-nodejs
135138
run: |
136139
cd unity/test/dotnet
@@ -170,7 +173,7 @@ jobs:
170173
run: |
171174
cd unity/test/dotnet
172175
node ../../cli dotnet-test -ts
173-
176+
174177
unittest-linux-dotnet:
175178
runs-on: ubuntu-latest
176179

0 commit comments

Comments
 (0)