1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 07:40:23 +02:00

Fix MacOS CI

Only attempt signing using Apple certificate on create tag events.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/525
This commit is contained in:
Emily Mabrey 2021-08-22 09:04:13 -04:00
parent 3bca228baa
commit 2fcf9d3a5b
No known key found for this signature in database
GPG Key ID: 6F4EF47256A1B7DC

View File

@ -114,7 +114,7 @@ jobs:
- name: Install Apple codesigning certificates
uses: apple-actions/import-codesign-certs@v1
if: startswith( matrix.config.os, 'macos' ) && github.event_name == 'push' && github.repository_owner == 'tenacityteam'
if: startswith( matrix.config.os, 'macos' ) && github.repository_owner == 'tenacityteam' && github.event_name == 'create' && github.event.ref_type == 'tag'
with:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}