From 346a14a25a0e98001670dd82b23695068e34edc1 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Wed, 12 Jul 2023 17:55:31 +0200 Subject: [PATCH] Sign msi --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ce2f2a..ea4da56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,11 +25,14 @@ jobs: run: msbuild $env:solution /m /t:Restore /p:Configuration=$env:configuration - name: Build solution run: msbuild $env:solution /m /t:Rebuild /p:Configuration=$env:configuration + - name: Sign setup files with PowerShell Script + shell: powershell + run: powershell -file .\$GITHUB_WORKSPACE\sign_files.ps1 -Path .\$GITHUB_WORKSPACE\Files -CertPath .\$GITHUB_WORKSPACE\codeSigningCert.pfx -CertPwd $env:certificatepassword - name: Create msi with PowerShell Script run: pwsh -command ".\$GITHUB_WORKSPACE\create_msi.ps1" - name: Sign msi with PowerShell Script shell: powershell - run: powershell -file .\$GITHUB_WORKSPACE\sign_files.ps1 -Path .\$GITHUB_WORKSPACE\Files -CertPath .\$GITHUB_WORKSPACE\codeSigningCert.pfx -CertPwd $env:certificatepassword + run: powershell -file .\$GITHUB_WORKSPACE\sign_setup.ps1 -CertPath .\$GITHUB_WORKSPACE\codeSigningCert.pfx -CertPwd $env:certificatepassword - name: Upload files artifact uses: actions/upload-artifact@v3 with: