Skip to content

Commit

Permalink
Update build_sign_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan1258 authored Jul 18, 2024
1 parent ae3fa3a commit 5dc1d1b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_sign_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ jobs:
run: |
xcodebuild -exportArchive -archivePath $PWD/build/WeatherApp.xcarchive -exportPath $PWD/build -exportOptionsPlist ExportOptions.plist
- name: Check Environment Variables
run: |
echo "Apple ID: $PROD_MACOS_NOTARIZATION_APPLE_ID"
echo "Team ID: $PROD_MACOS_NOTARIZATION_TEAM_ID"
- name: Notarize app bundle
env:
PROD_MACOS_NOTARIZATION_APPLE_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }}
PROD_MACOS_NOTARIZATION_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
PROD_MACOS_NOTARIZATION_PWD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "$PROD_MACOS_NOTARIZATION_APPLE_ID" --team-id "$PROD_MACOS_NOTARIZATION_TEAM_ID" --password "$PROD_MACOS_NOTARIZATION_PWD"
ditto -c -k --keepParent "$PWD/build/MenuBar\ Weather.app" "notarization.zip"
Expand Down

0 comments on commit 5dc1d1b

Please sign in to comment.