From 231fa89fcff9fc9c93065cd843515ef06e639988 Mon Sep 17 00:00:00 2001 From: aboyko Date: Thu, 6 Jul 2023 18:43:51 -0400 Subject: [PATCH] Try to unlock keychain within the step --- .github/workflows/eclipse-distro-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eclipse-distro-build.yml b/.github/workflows/eclipse-distro-build.yml index d07d98528..2e84612a2 100644 --- a/.github/workflows/eclipse-distro-build.yml +++ b/.github/workflows/eclipse-distro-build.yml @@ -43,8 +43,10 @@ jobs: gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} gpg_keyname: ${{ secrets.GPG_KEYID }} MACOS_CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }} - KEYCHAIN: "/Users/runner/Library/Keychains/login.keychain-db" - MACOS_NOTARIZATION_SERVICE_URL: "http://localhost:8080" + KEYCHAIN: /Users/runner/Library/Keychains/login.keychain-db + KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} + MACOS_NOTARIZATION_SERVICE_URL: http://localhost:8080 run: | cd eclipse-distribution + security unlock-keychain -p ${{ secrets.KEYCHAIN_PASSWORD }} /Users/runner/Library/Keychains/login.keychain-db ./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -DbuildQualifier=${{ steps.timestamp.outputs.date }} -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=false -Dskip.win.signing=false -Dskip.osx.notarizing=false -Dtycho.equinox.resolver.uses=true \ No newline at end of file