Sign, notarize and staple macos dmg

This commit is contained in:
Exidex 2024-08-25 11:17:38 +02:00
parent c86d11d885
commit ffbebd437c
No known key found for this signature in database
GPG key ID: 46D8D21671EB48FA
4 changed files with 70 additions and 3 deletions

View file

@ -73,6 +73,7 @@ jobs:
with:
command: npm run publish-macos-project --workspace @project-gauntlet/build
github-release-id: ${{ needs.publish-init.outputs.github-release-id }}
secrets: inherit
publish-final:
needs:

View file

@ -36,6 +36,7 @@ jobs:
- run: brew install protobuf
- run: brew install create-dmg
- run: cargo install apple-codesign
- uses: Swatinem/rust-cache@v2
with:
@ -48,3 +49,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
GITHUB_RELEASE_ID: ${{ inputs.github-release-id }}
APPLE_SIGNING_KEY_PEM: ${{ secrets.APPLE_SIGNING_KEY_PEM && fromJson(secrets.APPLE_SIGNING_KEY_PEM).content }}
APPLE_SIGNING_CERT_PEM: ${{ secrets.APPLE_SIGNING_CERT_PEM && fromJson(secrets.APPLE_SIGNING_CERT_PEM).content }}
APP_STORE_CONNECT_KEY: ${{ secrets.APP_STORE_CONNECT_KEY }}