Skip to content

Commit

Permalink
ci: only sign Mac packages if required secrets are present
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Mar 16, 2024
1 parent 2e30151 commit 90a5cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_reusable_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: echo "OTC_ARTIFACTS_SOURCE=github-artifacts" >> $GITHUB_ENV

- name: Import macOS Code-Signing Certificates
if: runner.os == 'macOS'
if: ${{ runner.os == 'macOS' && secrets.productbuild_identity_name != '' }}
uses: Apple-Actions/import-codesign-certs@v2
with:
# The certificates in a PKCS12 file encoded as a base64 string
Expand Down

0 comments on commit 90a5cbb

Please sign in to comment.