diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index e3b36a2..c716156 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -47,18 +47,19 @@ jobs: - name: Build electron app env: - CSC_FOR_PULL_REQUEST: "true" + CSC_FOR_PULL_REQUEST: 'true' run: npm run electron:package:mac - name: Notarize run: | DMG_FILE=$(find ${{ github.workspace }}/dist/ -type f -name '*.dmg') - npm install -g notarize-cli - notarize-cli \ - --file="$DMG_FILE" \ - --bundle-id net.chia.climate-tokenization-engine-ui \ - --username "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \ - --password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}" + xcrun notarytool submit \ + --wait \ + --apple-id "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \ + --password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}" \ + --team-id "${{ secrets.APPLE_TEAM_ID }}" \ + "$DMG_FILE" + - name: Upload Mac Installer uses: actions/upload-artifact@v3 with: