Skip to content

Commit

Permalink
Merge pull request #266 from Chia-Network/new-notarization
Browse files Browse the repository at this point in the history
ci: update Mac notarization
  • Loading branch information
TheLastCicada authored Apr 2, 2024
2 parents 8c01fcb + 700692e commit 56da0fa
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-installers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 56da0fa

Please sign in to comment.