Skip to content

Commit

Permalink
ci: fix windows deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Jul 23, 2023
1 parent 93b49b1 commit 6d4d1f4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ jobs:
run: |
if [[ "${{ matrix.os }}" == "macos" ]]; then
macdeployqt ./CaptiveDNS/CaptiveDNS.app -dmg
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS.dmg
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS.dmg
elif [[ "${{ matrix.os }}" == "windows" ]]; then
windeployqt CaptiveDNS.exe
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS.exe
mkdir -p ./CaptiveDNS/CaptiveDNS
tree
# cp ./CaptiveDNS/CaptiveDNS.exe ./CaptiveDNS/CaptiveDNS
windeployqt ./CaptiveDNS/CaptiveDNS/CaptiveDNS.exe
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS
else
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS
fi
Expand Down

0 comments on commit 6d4d1f4

Please sign in to comment.