Skip to content

Commit

Permalink
Update build_and_release_all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecarr authored Jan 5, 2025
1 parent 27d4e3f commit 9924565
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/build_and_release_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,24 +102,20 @@ jobs:
chmod +x "${APP_DIR}/Contents/MacOS/${APP_NAME}.Desktop"
- name: Set up a temporary keychain
run: |
security create-keychain -p temp_keychain_password build.keychain
security list-keychains -s build.keychain
security unlock-keychain -p temp_keychain_password build.keychain
security set-keychain-settings -lut 3600 build.keychain
# - name: Set up a temporary keychain
# run: |
# security create-keychain -p temp_keychain_password build.keychain
# security list-keychains -s build.keychain
# security unlock-keychain -p temp_keychain_password build.keychain
# security set-keychain-settings -lut 3600 build.keychain

- name: Import signing certificate
- name: Import Signing Certificate
env:
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
run: |
echo "$APPLE_CERTIFICATE"
echo "$APPLE_CERTIFICATE" | base64 --decode > signing_certificate.p12
security import signing_certificate.p12 -k build.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -A
security set-key-partition-list -S apple-tool:,apple: -k temp_keychain_password build.keychain
security import signing_certificate.p12 -P "$APPLE_CERTIFICATE_PASSWORD" -A
security find-identity -p codesigning -v
- name: Code sign the application
run: |
codesign --deep --force --options runtime \
Expand Down

0 comments on commit 9924565

Please sign in to comment.