You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Xcode notarizer
v1.0.1
This action uses xcrun notarytool
to send your product to Apple's notary service, and xcrun stapler
to staple the product.
This action supports .dmg
, .pkg
file and .app
folder.
- name: Notarize product
uses: 26F-Studio/xcode-notarizer@main
with:
product-path: ./dist/my_app.app
apple-id: ${{ secrets.APPLE_ID }}
app-password: ${{ secrets.APP_PASSWORD }}
team-id: ${{ secrets.TEAM_ID }}
staple: false
- name: Notarize product
uses: 26F-Studio/xcode-notarizer@main
with:
product-path: ./dist/my_app.app
key-base64: ${{ secrets.API_KEY }}
key-id: ${{ secrets.API_ID }}
issuer-id: ${{ secrets.ISSUER_ID }}
staple: false
Name | Required | Default | Description |
---|---|---|---|
product-path |
true |
"" |
Path to the product. Support .dmg , .pkg and .app |
apple-id |
false |
"" |
Apple ID of the product's developer |
app-password |
false |
"" |
App specific password of the product |
team-id |
false |
"" |
Developer team ID of the product |
key-base64 |
false |
"" |
Base64 content of the App Store Connect API key |
key-id |
false |
"" |
ID of the App Store Connect API key |
issuer-id |
false |
"" |
ID of the App Store Connect API issuer |
staple |
false |
"true" |
Whether to staple product or not |