Always create log file zips in the build to capture failures
Rob Mensching committed
Jan 2, 2022 at 14:57 UTC
2cd713ec0f2bf68a77a9b2491429ce696ebcf608
2 files changed
+3
-2
.github/workflows/build.yml
+1
@@ -47,6 +47,7 @@ jobs:
47
- name: Create Zips
48
shell: cmd
49
run: ./src/create_zips.cmd
50
+ if: always()
51
52
- name: Save logs
53
uses: actions/upload-artifact@v2
src/create_zips.cmd
+2
-2
@@ -1,2 +1,2 @@
1
-7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" || exit /b
2
-7z a "build\testresults.zip" @src\testresultfilelist.txt || exit /b
\ No newline at end of file
1
+7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log"
2
+7z a "build\testresults.zip" @src\testresultfilelist.txt