Skip to content

Commit

Permalink
remove exe first
Browse files Browse the repository at this point in the history
-Force should prevent this, idk why that didn't work
  • Loading branch information
DSPaul committed Jun 30, 2024
1 parent 103301c commit 8431c17
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ jobs:
github-artifact-id: ${{steps.upload-exe.outputs.artifact-id}}
wait-for-completion: true
output-artifact-directory: .\

#singed app will be downloaded as a zip file, extract it and replace it unsiged exe with the singed one

- 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 -Force .\COMPASS_exe.zip .\src\bin\Publish\win-x64\COMPASS.exe
run: Expand-Archive .\COMPASS_exe.zip .\src\bin\Publish\win-x64\COMPASS.exe

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

0 comments on commit 8431c17

Please sign in to comment.