Skip to content

Commit

Permalink
only import apple codesigning certs on macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kolberg <[email protected]>
  • Loading branch information
amdprophet committed Aug 15, 2024
1 parent 85cb7b7 commit ca30fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow-build-otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
grep "_Cfunc__goboringcrypto_"
- uses: apple-actions/import-codesign-certs@v3
if: ${{ runner.os == 'macOS' }}
with:
p12-file-base64: ${{ secrets.apple_developer_certificate_p12_base64 CERTIFICATES_P12 }}
p12-password: ${{ secrets.apple_developer_certificate_password }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/workflow-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ jobs:
grep "vendor/github.com/microsoft/go-crypto-winnative/internal/bcrypt.GetFipsAlgorithmMode"
- uses: apple-actions/import-codesign-certs@v3
if: ${{ runner.os == 'macOS' && env.MACOS_SIGNING_ENABLED == 'true' }}
with:
p12-file-base64: ${{ secrets.apple_developer_certificate_p12_base64 }}
p12-password: ${{ secrets.apple_developer_certificate_password }}
Expand Down

0 comments on commit ca30fa9

Please sign in to comment.