From 4bd0a8a27c2f726de9d132d04ebda431f542fbb5 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 3 Jan 2022 09:45:42 -0600 Subject: Replace create_zips.cmd with Github Action steps. --- .github/workflows/build.yml | 10 +++++++--- src/create_zips.cmd | 2 -- 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 src/create_zips.cmd diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df0f11c7..4001a17d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: with: fetch-depth: 0 - - name: Confgure Visual Studio + - name: Configure Visual Studio shell: cmd run: ./src/vs_config.cmd @@ -44,9 +44,13 @@ jobs: name: artifacts path: build/artifacts/ - - name: Create Zips + - name: Validate Test Results shell: cmd - run: ./src/create_zips.cmd + run: 7z a build\testresults.zip @src\testresultfilelist.txt + + - name: Zip temp logs + shell: cmd + run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" if: always() - name: Save logs diff --git a/src/create_zips.cmd b/src/create_zips.cmd deleted file mode 100644 index ed9bbcf9..00000000 --- a/src/create_zips.cmd +++ /dev/null @@ -1,2 +0,0 @@ -7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" -7z a "build\testresults.zip" @src\testresultfilelist.txt -- cgit v1.2.3-55-g6feb