Skip to content

Commit

Permalink
signing action already unzips
Browse files Browse the repository at this point in the history
  • Loading branch information
DSPaul committed Jun 30, 2024
1 parent 8431c17 commit 2f62464
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
name: COMPASS_exe
path: .\src\bin\Publish\win-x64\COMPASS.exe

- name: remove unsigned exe
shell: pwsh
run: rm .\src\bin\Publish\win-x64\COMPASS.exe

- name: Sign app
id: signing-app
uses: signpath/[email protected]
Expand All @@ -54,16 +58,7 @@ jobs:
signing-policy-slug: test-signing
github-artifact-id: ${{steps.upload-exe.outputs.artifact-id}}
wait-for-completion: true
output-artifact-directory: .\

- name: remove unsigned exe
shell: pwsh
run: rm .\src\bin\Publish\win-x64\COMPASS.exe

#signed app will be downloaded as a zip file, extract it and replace it unsiged exe with the signed one
- name: Unzip and replace
shell: pwsh
run: Expand-Archive .\COMPASS_exe.zip .\src\bin\Publish\win-x64\COMPASS.exe
output-artifact-directory: .\src\bin\Publish\win-x64\

- name: Package
run: iscc Deployment/install.iss
Expand Down

0 comments on commit 2f62464

Please sign in to comment.