From eb911b47316c51d1cad763607ca3c235c73847dc Mon Sep 17 00:00:00 2001 From: Hayden Esser Date: Mon, 19 Feb 2024 15:32:45 -0500 Subject: [PATCH] Update electron.yml - add env conf for 'Notarize' step --- .github/workflows/electron.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 432898b35..9eedda291 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -62,6 +62,10 @@ jobs: - name: Package [Mac] run: npm run dist-nopublish - name: Notarize + env: + APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_APP_SECRET: ${{ secrets.APPLE_APP_SECRET }} + APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: | xcrun notarytool submit --wait --apple-id "$APPLE_ID" --password "$APPLE_APP_SECRET" --team-id "$APPLE_TEAM_ID" $(find ../output -name "VERIFI-*.*.*.dmg") xcrun stapler staple $(find ../output -name "VERIFI-*.*.*.dmg")