Skip to content

Commit

Permalink
Configure notarization
Browse files Browse the repository at this point in the history
  • Loading branch information
Reeywhaar committed Jun 12, 2022
1 parent 2965de9 commit 9d9e2b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
DISTRIBUTION_CERT_BASE_64: ${{ secrets.DISTRIBUTION_CERT_BASE_64 }}
DISTRIBUTION_CERT_PASS: ${{ secrets.DISTRIBUTION_CERT_PASS }}

- name: "Configure notarytool"
run: >
xcrun notarytool store-credentials notarytool --apple-id $APPLE_ID --team-id $TEAM_ID --password $NOTARY_TOOL_PASS
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
NOTARY_TOOL_PASS: ${{ secrets.NOTARY_TOOL_PASS }}
TEAM_ID: ${{ secrets.TEAM_ID }}

- name: "Install pods"
run: pod install

Expand All @@ -39,6 +47,9 @@ jobs:
- name: "Zip App"
run: pushd middleme.xcarchive/Products/Applications && zip --symlinks -r ../../../MiddleMe.zip MiddleMe.app && popd

- name: "Notarize app"
run: xcrun notarytool submit MiddleMe.zip --keychain-profile notarytool --wait

- name: "Create Release"
uses: softprops/action-gh-release@78c309ef59fdb9557cd6574f2e0be552936ed728
env:
Expand Down

0 comments on commit 9d9e2b3

Please sign in to comment.