CI: Comment out cert handling

Action can only be used once on self-hosted runners
This commit is contained in:
Mykola Grymalyuk
2023-04-22 16:40:43 -06:00
parent 6bec4ca2d2
commit 117e7fa6ff

View File

@@ -29,11 +29,12 @@ jobs:
- name: Build Binary
run: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 Build-Binary.command --reset_binaries --branch "${{ env.branch }}" --commit "${{ env.commiturl }}" --commit_date "${{ env.commitdate }}" --key "${{ env.ANALYTICS_KEY }}" --site "${{ env.ANALYTICS_SITE }}"
- name: Import Certificate
uses: apple-actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.MAC_CODESIGN_CERT }}
p12-password: ${{ secrets.MAC_NOTARIZATION_PASSWORD }}
# Uncomment when using Github Runners or first run on self-hosted
# - name: Import Certificate
# uses: apple-actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.MAC_CODESIGN_CERT }}
# p12-password: ${{ secrets.MAC_NOTARIZATION_PASSWORD }}
- name: Codesign Binary
run: 'codesign -s "${{ env.MAC_CODESIGN_IDENTITY }}" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'