Skip to content

Commit

Permalink
Add upload of signed Windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL authored Nov 9, 2024
1 parent 6f57d28 commit 524cfaf
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
run: |
echo "*** Create new folders ***"
New-Item -ItemType directory -Path installer
New-Item -ItemType directory -Path to_publish
New-Item -ItemType directory -Path publish
echo "*** Copy non QT DLLs from welle.io-win-libs repository ***"
Expand All @@ -77,15 +78,15 @@ jobs:
$Filename = $current_date + "_" + $git_hash + "_Windows_welle-io-setup_x64"
echo ""*** Run InnoSetup "***"
& ISCC /Opublish\ /F$Filename /DGitHash=$git_hash windows_installer.iss
& ISCC /Oto_publish\ /F$Filename /DGitHash=$git_hash windows_installer.iss
- name: Archive artifacts (welle.io Windows installer)
id: upload_artifact
if: always() && steps.create_installer.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: welle.io Windows installer
path: publish\*.exe
path: to_publish\*.exe
if-no-files-found: error

- name: Sign installer with SignPath
Expand All @@ -97,7 +98,17 @@ jobs:
project-slug: 'welle.io'
signing-policy-slug: 'test-signing'
github-artifact-id: '${{steps.upload_artifact.outputs.artifact-id}}'
wait-for-completion: false
wait-for-completion: true
output-artifact-directory: 'publish'

- name: Archive artifacts (welle.io Windows installer signed)
id: upload_artifact
if: always() && steps.create_installer.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: welle.io Windows installer signed
path: publish\*.exe
if-no-files-found: error

- name: Upload to nightly server
if: always() && steps.signing_installer.outcome == 'success'
Expand Down

0 comments on commit 524cfaf

Please sign in to comment.