From 1540ba41a7a6c11a858369faa034564f0a2352b1 Mon Sep 17 00:00:00 2001 From: s0t7x Date: Wed, 26 Jun 2024 18:04:31 +0200 Subject: [PATCH] gh action compress fix --- .github/workflows/build.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0547d21..1c8deb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,23 +10,26 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ilammy/msvc-dev-cmd@v1.4.1 - - name: compile core dll + - name: build_core run: | - MSBuild "shroudtopia\shroudtopia.sln" /t:Build /p:Configuration=Release /p:OutDir=".\" /p:Platform=x64 + MSBuild "shroudtopia\shroudtopia.sln" /t:Build /p:Configuration=Release /p:OutDir="." /p:Platform=x64 shell: cmd - - name: compile proxy 'winmm.dll' + - name: build_proxy run: | - MSBuild "winmm\winmm.sln" /t:Build /p:Configuration=Release /p:OutDir=".\" /p:Platform=x64 + MSBuild "winmm\winmm.sln" /t:Build /p:Configuration=Release /p:OutDir="." /p:Platform=x64 shell: cmd - - name: compress binaries + - name: compress + if: steps.build_proxy.outcome == 'success' && steps.build_core.outcome == 'success' run: | Compress-Archive -Path *.exe -Destination .\Shroudtopia.zip shell: powershell - name: check + if: steps.compress.outcome == 'success' run: | dir shell: cmd - - name: upload executable + - name: upload + if: steps.compress.outcome == 'success' uses: actions/upload-artifact@v2 with: name: windows