mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +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:
parent
9686ef95fe
commit
c4901f8ad8
2
.github/workflows/cmake_build.yml
vendored
2
.github/workflows/cmake_build.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user