1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-18 14:41:20 +01: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

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