From 2f62464459b729c7c23ba8688ba00e1e69d491dd Mon Sep 17 00:00:00 2001 From: DSPAUL Date: Sun, 30 Jun 2024 20:14:54 +0200 Subject: [PATCH] signing action already unzips --- .github/workflows/package.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index b420b1d..8e2220f 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -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/github-action-submit-signing-request@v0.4 @@ -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