keychain is persistent

If we ever need to start from scratch,
temporarily remove `&& inputs.runner != 'self-hosted'`

Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-18 11:43:04 +02:00
parent 1d101a256e
commit bcdd7c9ed3
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -168,7 +168,7 @@ jobs:
- name: Configure Macos keychain Developer Cert(Bash)
id: macos-keychain-developer-cert
if: ${{ runner.os == 'Macos' }}
if: ${{ runner.os == 'Macos' && inputs.runner != 'self-hosted' }} # will be installed on the first-run, if reinitializing the keychain is needed, set to true
uses: apple-actions/import-codesign-certs@v1
with:
keychain-password: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}
@ -177,7 +177,7 @@ jobs:
- name: Configure Macos keychain Installer Cert (Bash)
id: macos-keychain-installer-cert
if: ${{ runner.os == 'Macos' }}
if: ${{ runner.os == 'Macos' && inputs.runner != 'self-hosted' }} # will be installed on the first-run, if reinitializing the keychain is needed, set to true
uses: apple-actions/import-codesign-certs@v1
with:
keychain-password: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}