Replace create_zips.cmd with Github Action steps.
Sean Hall committed
Jan 3, 2022 at 09:45 UTC
4bd0a8a27c2f726de9d132d04ebda431f542fbb5
2 files changed
+7
-5
.github/workflows/build.yml
+7
-3
@@ -26,7 +26,7 @@ jobs:
26
with:
27
fetch-depth: 0
28
29
- - name: Confgure Visual Studio
29
+ - name: Configure Visual Studio
30
shell: cmd
31
run: ./src/vs_config.cmd
32
@@ -44,9 +44,13 @@ jobs:
44
name: artifacts
45
path: build/artifacts/
46
47
- - name: Create Zips
47
+ - name: Validate Test Results
48
shell: cmd
49
- run: ./src/create_zips.cmd
49
+ run: 7z a build\testresults.zip @src\testresultfilelist.txt
50
+
51
+ - name: Zip temp logs
52
+ shell: cmd
53
+ run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log"
54
if: always()
55
56
- name: Save logs
src/create_zips.cmd
deleted
-2
@@ -1,2 +0,0 @@
1
-7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log"
2
-7z a "build\testresults.zip" @src\testresultfilelist.txt