Skip to content

Commit

Permalink
NSIS architecture according to OS architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
MangaD committed Jun 18, 2023
1 parent 785c3ce commit 5c4bc22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ jobs:
if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/')
working-directory: project/build
run: |
cpack -C Release -G NSIS64
if [[ ${{ matrix.config.ext }} =~ "i686" ]]; then
cpack -C Release -G NSIS
else
cpack -C Release -G NSIS64
fi
cpack -C Release -G WIX
mv package/${{ steps.generate-name.outputs.finalName }}.exe ../${{ steps.generate-name.outputs.nsisName }}
mv package/${{ steps.generate-name.outputs.finalName }}.msi ../${{ steps.generate-name.outputs.wixName }}
Expand Down

0 comments on commit 5c4bc22

Please sign in to comment.