GitHub Actions: Build Windows zip file too

This forces the build of the Windows zip archives; this can be used to do
offline signing and installer generation.

Signed-off-by: Mark Yen <mark.yen@suse.com>
This commit is contained in:
Mark Yen
2021-06-17 15:08:14 -07:00
parent f804017a93
commit f97ed5c503
2 changed files with 7 additions and 1 deletions

View File

@@ -65,3 +65,9 @@ jobs:
name: Rancher Desktop Setup.exe
path: dist/Rancher Desktop*.exe
if-no-files-found: error
- uses: actions/upload-artifact@v2
if: startsWith(matrix.os, 'windows-')
with:
name: Rancher Desktop-win.zip
path: dist/Rancher Desktop-*-win.zip
if-no-files-found: error

View File

@@ -20,7 +20,7 @@ mac:
icon: ./resources/icons/mac-icon.png
afterSign: "scripts/notarize.js"
win:
target: nsis
target: [ nsis, zip ]
signingHashAlgorithms: [ sha256 ] # We only support Windows 10 + WSL2
requestedExecutionLevel: asInvoker # The _app_ doesn't need privileges
nsis: