Explorar o código

CI: Set explicit keychain password for macOS code signing

Also remove unnecessary code sign parameters for Linux build job.
PatTheMav %!s(int64=3) %!d(string=hai) anos
pai
achega
b0dcbd32fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/main.yml

@@ -130,6 +130,7 @@ jobs:
         if: ${{ github.event_name != 'pull_request' && steps.setup.outputs.haveCodesignIdent == 'true' }}
         uses: apple-actions/import-codesign-certs@253ddeeac23f2bdad1646faac5c8c2832e800071
         with:
+          keychain-password: ${{ github.run_id }}
           p12-file-base64: ${{ secrets.MACOS_SIGNING_CERT }}
           p12-password: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}
 
@@ -231,7 +232,6 @@ jobs:
           workingDirectory: ${{ github.workspace }}/plugin
           target: ${{ matrix.arch }}
           config: RelWithDebInfo
-          codesign: ${{ env.HAVE_CODESIGN_IDENTITY }}
 
       - name: Package Plugin
         uses: ./plugin/.github/actions/package-plugin