patch: try fix for windows signing

This commit is contained in:
Edwin Joassart 2025-04-16 09:48:15 +02:00
parent d7d0455d44
commit 9117aac9b2
No known key found for this signature in database
GPG Key ID: A56BE0A21AD56A40

View File

@ -3,10 +3,10 @@ name: package and publish GitHub (draft) release
# https://github.com/product-os/flowzone/tree/master/.github/actions # https://github.com/product-os/flowzone/tree/master/.github/actions
inputs: inputs:
json: json:
description: "JSON stringified object containing all the inputs from the calling workflow" description: 'JSON stringified object containing all the inputs from the calling workflow'
required: true required: true
secrets: secrets:
description: "JSON stringified object containing all the secrets from the calling workflow" description: 'JSON stringified object containing all the secrets from the calling workflow'
required: true required: true
# --- custom environment # --- custom environment
@ -15,14 +15,14 @@ inputs:
# Beware that native modules will be built for this version, # Beware that native modules will be built for this version,
# which might not be compatible with the one used by pkg (see forge.sidecar.ts) # which might not be compatible with the one used by pkg (see forge.sidecar.ts)
# https://github.com/vercel/pkg-fetch/releases # https://github.com/vercel/pkg-fetch/releases
default: "20.x" default: '20.x'
VERBOSE: VERBOSE:
type: string type: string
default: "true" default: 'true'
runs: runs:
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action # https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
using: "composite" using: 'composite'
steps: steps:
- name: Download custom source artifact - name: Download custom source artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
@ -144,6 +144,7 @@ runs:
-o smtools-windows-x64.msi -o smtools-windows-x64.msi
msiexec -i smtools-windows-x64.msi -qn msiexec -i smtools-windows-x64.msi -qn
PATH="/c/Program Files/DigiCert/DigiCert One Signing Manager Tools:${PATH}" PATH="/c/Program Files/DigiCert/DigiCert One Signing Manager Tools:${PATH}"
smksp_registrar.exe register
smksp_registrar.exe list smksp_registrar.exe list
smctl.exe keypair ls smctl.exe keypair ls
/c/Windows/System32/certutil.exe -csp "DigiCert Signing Manager KSP" -key -user /c/Windows/System32/certutil.exe -csp "DigiCert Signing Manager KSP" -key -user