Unlock the keychain as late as possible

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-06 07:43:12 +02:00 committed by jspijker
parent 4fb7d0e691
commit 17d2fb8b02

View File

@ -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