From 9d9e2b364003ffd37a8dfe36797cf3991d5d88f3 Mon Sep 17 00:00:00 2001 From: Vyrtsev Mikhail Date: Sun, 12 Jun 2022 13:00:02 +0300 Subject: [PATCH] Configure notarization --- .github/workflows/create-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 07d694d..2a46697 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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 @@ -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: