Skip to content

Commit

Permalink
Try choco installing missing SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Aug 18, 2024
1 parent 573dc8a commit b1ea53a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
Release_Windows:
runs-on: windows-latest
env:
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe"
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/x64/signtool.exe"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -198,13 +198,16 @@ jobs:
exit 1
}
- name: Install and configure eSigner CKA
- name: Install and configure eSigner CKA and Windows SDK
if: github.event.inputs.sign == 'true'
env:
ESIGNER_URL: https://github.com/SSLcom/eSignerCKA/releases/download/v1.0.7/SSL.COM-eSigner-CKA_1.0.7.zip
run: |
Set-StrictMode -Version 'Latest'
# Install Windows SDK
choco install -y windows-sdk-10.0
# Download and Unzip eSignerCKA Setup
Invoke-WebRequest -OutFile eSigner_CKA_Setup.zip "$env:ESIGNER_URL"
Expand-Archive -Force eSigner_CKA_Setup.zip
Expand Down

0 comments on commit b1ea53a

Please sign in to comment.