diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml index cd805d7..7faacaf 100644 --- a/.github/workflows/build_windows.yaml +++ b/.github/workflows/build_windows.yaml @@ -119,8 +119,10 @@ jobs: run: | Set-StrictMode -Version 'Latest' - # Download - Invoke-WebRequest -OutFile eSigner_CKA.exe "https://packages.element.io/tools/SSL.COM%20eSigner%20CKA_1.0.4-build-20230221_signed.exe" + # Download, extract, and rename + Invoke-WebRequest -OutFile eSigner_CKA.zip "$env:ESIGNER_URL" + Expand-Archive -Path eSigner_CKA.zip -DestinationPath . + Get-ChildItem -Path * -Include "*_build_*.exe" | Rename-Item -NewName eSigner_CKA.exe # Install New-Item -ItemType Directory -Force -Path "$env:INSTALL_DIR" @@ -147,6 +149,7 @@ jobs: echo "ED_SIGNTOOL_THUMBPRINT=$Thumbprint" >> $env:GITHUB_ENV echo "ED_SIGNTOOL_SUBJECT_NAME=$SubjectName" >> $env:GITHUB_ENV env: + ESIGNER_URL: https://github.com/SSLcom/eSignerCKA/releases/download/v1.0.6/SSL.COM-eSigner-CKA_1.0.6.zip INSTALL_DIR: C:\Users\runneradmin\eSignerCKA MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key