Skip to content

Commit

Permalink
gh action compress fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s0t7x committed Jun 26, 2024
1 parent b7b2a50 commit 1540ba4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,26 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ilammy/[email protected]
- 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
Expand Down

0 comments on commit 1540ba4

Please sign in to comment.