Skip to content

Commit

Permalink
Reload config before signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Aug 17, 2024
1 parent 5bb1a58 commit 5cce936
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5cce936

Please sign in to comment.