Skip to content

Commit

Permalink
Try uisng the apple-actions/import-codesign-certs@v2 action to import…
Browse files Browse the repository at this point in the history
… the codesigning certificate instead of the custom script.
  • Loading branch information
albireox committed Apr 18, 2024
1 parent 43beb07 commit d7f8ee7
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ jobs:
run: |
brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman
- name: Add MacOS certs
run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh
env:
MACOS_CERT_P12: ${{ secrets.CSC_LINK }}
MACOS_CERT_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# - name: Add MacOS certs
# run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh
# env:
# MACOS_CERT_P12: ${{ secrets.CSC_LINK }}
# MACOS_CERT_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}

- name: Import codesign certs
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CSC_LINK }}
p12-password: ${{ secrets.CSC_KEY_PASSWORD }}

- name: Run install
run: yarn install
Expand Down

0 comments on commit d7f8ee7

Please sign in to comment.