1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

CI: Let everyone install their own Apple codesigning certificates

Previously, only 'Audacity' had the ability to use Apple certificates. This change will allow every fork developer to sign their own code by configuring the corresponding secret in their repository settings.

Signed-off-by: fossdd <fossdd@tutanota.com>
This commit is contained in:
fossdd 2021-07-13 08:38:38 +02:00 committed by GitHub
parent 9686ef95fe
commit c4901f8ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,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 == 'audacity'
if: startswith( matrix.config.os, 'macos' ) && github.event_name == 'push' && secrets.APPLE_CERTIFICATE != '' && secrets.APPLE_CERTIFICATE_PASSWORD != ''
with:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}