From ad333c2055ef6b877b68f2dfbda55b0363b20eb6 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Thu, 10 Apr 2025 16:25:12 -0400 Subject: [PATCH] Try certutil.exe -csp "DigiCert Software Trust Manager KSP", forget yarn cache for now --- .github/workflows/build-apps.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml index e5f7c8f29..99b5eac7b 100644 --- a/.github/workflows/build-apps.yml +++ b/.github/workflows/build-apps.yml @@ -31,7 +31,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + # Forget cache for now + # cache: 'yarn' - run: yarn install @@ -174,7 +175,8 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' # Set this to npm, yarn or pnpm. + # Forget cache for now + # cache: 'yarn' # Set this to npm, yarn or pnpm. - name: yarn install # Windows is picky sometimes and fails on fetch. Step takes about ~30s @@ -188,6 +190,7 @@ jobs: # The next two steps are from the official Digicert docs, available at # https://docs.digicert.com/en/digicert-keylocker/ci-cd-integrations/scripts/github/scripts-for-signing-using-ksp-library-on-github.html#ksp-signing-using-github-action-488726 # EXCEPT the `smksp_registrar.exe register` line + # EXCEPT the `certutil.exe -csp "DigiCert Software Trust Manager KSP" -key -user` line - name: Prepare certificate and variables (Windows only) if: ${{ (env.IS_RELEASE == 'true' || env.IS_NIGHTLY == 'true') && matrix.os == 'windows-2022' }} run: | @@ -212,7 +215,7 @@ jobs: smksp_registrar.exe register smksp_registrar.exe list smctl.exe keypair ls - C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user + C:\Windows\System32\certutil.exe -csp "DigiCert Software Trust Manager KSP" -key -user smksp_cert_sync.exe shell: cmd