From 17d2fb8b02684beef9e102f70b1ff600a243e259 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 6 Jul 2022 07:43:12 +0200 Subject: [PATCH] Unlock the keychain as late as possible Contributes to CURA-9365 --- .github/workflows/cura-installer.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cura-installer.yml b/.github/workflows/cura-installer.yml index aad019a702..f766b515e6 100644 --- a/.github/workflows/cura-installer.yml +++ b/.github/workflows/cura-installer.yml @@ -126,18 +126,6 @@ jobs: p12-file-base64: ${{ secrets.MACOS_CERT_P12 }} p12-password: ${{ secrets.MACOS_CERT_PASSPHRASE }} - - name: Output security response - if: ${{ runner.os == 'Macos' }} - run: echo $security-response - env: - SECURITY_RESPONSE: ${{ steps.macos-keychain.outputs.security-response }} - - - name: Unlock Macos keychain (Bash) - if: ${{ runner.os == 'Macos' }} - run: security unlock -p $TEMP_KEYCHAIN_PASSWORD signing_temp.keychain - env: - TEMP_KEYCHAIN_PASSWORD: ${{ steps.macos-keychain.outputs.keychain-password }} - - name: Clean Conan local cache if: ${{ inputs.conan_clean_local_cache }} run: conan remove "*" -f @@ -165,6 +153,12 @@ jobs: .\cura_inst\Scripts\activate_github_actions_env.ps1 .\cura_inst\Scripts\activate_github_actions_version_env.ps1 + - name: Unlock Macos keychain (Bash) + if: ${{ runner.os == 'Macos' }} + run: security unlock -p $TEMP_KEYCHAIN_PASSWORD signing_temp.keychain + env: + TEMP_KEYCHAIN_PASSWORD: ${{ steps.macos-keychain.outputs.keychain-password }} + - name: Create the Cura dist run: pyinstaller ./cura_inst/Ultimaker-Cura.spec