mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
Guard condition for existing keychain
This commit is contained in:
parent
3053d71414
commit
cba587bf0f
1 changed files with 7 additions and 0 deletions
7
.github/actions/codesign/action.yml
vendored
7
.github/actions/codesign/action.yml
vendored
|
@ -33,6 +33,13 @@ runs:
|
||||||
# ago, and we need bugfixes.
|
# ago, and we need bugfixes.
|
||||||
# FIXME: replace this with a tea script based on https://localazy.com/blog/how-to-automatically-sign-macos-apps-using-github-actions
|
# FIXME: replace this with a tea script based on https://localazy.com/blog/how-to-automatically-sign-macos-apps-using-github-actions
|
||||||
# github has a doc with similar content, but it's not returning to me atm.
|
# github has a doc with similar content, but it's not returning to me atm.
|
||||||
|
|
||||||
|
# apple-actions/import-codesign-certs will fail if the keychain already exists, so we prophylactically
|
||||||
|
# delete it if it does.
|
||||||
|
- name: Delete keychain
|
||||||
|
shell: sh
|
||||||
|
run: security delete-keychain signing_temp.keychain || true
|
||||||
|
|
||||||
- uses: apple-actions/import-codesign-certs@d54750db52a4d3eaed0fc107a8bab3958f3f7494
|
- uses: apple-actions/import-codesign-certs@d54750db52a4d3eaed0fc107a8bab3958f3f7494
|
||||||
with:
|
with:
|
||||||
p12-file-base64: ${{ inputs.p12-file-base64 }}
|
p12-file-base64: ${{ inputs.p12-file-base64 }}
|
||||||
|
|
Loading…
Reference in a new issue