diff --git a/.github/workflows/build-electron.yml b/.github/workflows/build-electron.yml index 42767ddad..2ffd47ebf 100644 --- a/.github/workflows/build-electron.yml +++ b/.github/workflows/build-electron.yml @@ -46,6 +46,7 @@ env: ESIGNER_USERNAME: ${{ secrets.ESIGNER_USERNAME }} ESIGNER_PASSWORD: ${{ secrets.ESIGNER_PASSWORD }} ESIGNER_TOTP_SECRET: ${{ secrets.ESIGNER_TOTP_SECRET }} + INSTALL_DIR: C:\Users\runneradmin\eSignerCKA SSH_KEY: ${{ secrets.SSH_KEY }} REF_NAME: ${{ github.ref_name }} @@ -199,7 +200,6 @@ jobs: if: github.event.inputs.sign == 'true' 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 run: | Set-StrictMode -Version 'Latest' @@ -287,6 +287,8 @@ jobs: echo "Installing dependencies in root and dist" npm install; cd dist; npm install; cd .. echo "Installed Electron version:$(npx electron --version)" + echo "Loading esigner configuration" + ${{ env.INSTALL_DIR }}/eSignerCKATool.exe load echo "Building Windows packages..." if ($INPUT_SIGN) { npm run publish