Skip to content

Commit

Permalink
CI: Correctly import signing certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Aug 28, 2024
1 parent 7c3e9e0 commit 853b630
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
with:
python-version: 3.11

- name: Import Installer Signing Certificate
uses: dhinakg/import-codesign-certs@master
with:
p12-file-base64: ${{ secrets.ORG_MAC_DEVELOPER_ID_INSTALLER_CERT_P12_BASE64 }}
p12-password: ${{ secrets.ORG_MAC_DEVELOPER_ID_INSTALLER_CERT_P12_PASSWORD }}

- name: Install dependencies
run: python3 -m pip install -r requirements.txt

Expand All @@ -50,9 +56,9 @@ jobs:
run: echo "BACKUP_FOLDER=$(python3 metallib.py --fetch ${{ steps.extract.outputs.DMG_FILE }})" >> $GITHUB_OUTPUT
id: fetch

# - name: Patch metal libraries
# if: steps.fetch.outputs.BACKUP_FOLDER != ''
# run: python3 metallib.py --patch ${{ steps.fetch.outputs.BACKUP_FOLDER }}
- name: Patch metal libraries
if: steps.fetch.outputs.BACKUP_FOLDER != ''
run: python3 metallib.py --patch ${{ steps.fetch.outputs.BACKUP_FOLDER }}

- name: Build sys_patch_dict.py
if: steps.fetch.outputs.BACKUP_FOLDER != ''
Expand Down

0 comments on commit 853b630

Please sign in to comment.