Skip to content

Commit

Permalink
ci: adjust release bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Jul 23, 2023
1 parent aea3348 commit ad7f6c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.os }}" == "macos" ]]; then
macdeployqt ./CaptiveDNS/CaptiveDNS.app -dmg
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS.dmg
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS.app
elif [[ "${{ matrix.os }}" == "windows" ]]; then
mkdir -p ./CaptiveDNS/CaptiveDNS
cp ./CaptiveDNS/release/CaptiveDNS.exe ./CaptiveDNS/CaptiveDNS
windeployqt ./CaptiveDNS/CaptiveDNS/CaptiveDNS.exe
choco install -y zip
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS/*
else
zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS
fi
Expand Down

0 comments on commit ad7f6c2

Please sign in to comment.