https://github.com/toitlang/action-macos-sign-notarize
GitHub Action to codesign and notarize an executable
https://github.com/toitlang/action-macos-sign-notarize
Last synced: 19 days ago
JSON representation
GitHub Action to codesign and notarize an executable
- Host: GitHub
- URL: https://github.com/toitlang/action-macos-sign-notarize
- Owner: toitlang
- License: mit
- Created: 2023-06-14T15:53:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T08:30:17.000Z (about 1 month ago)
- Last Synced: 2025-04-22T09:41:33.141Z (about 1 month ago)
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codesign and Notarize
A Github Action to codesign and notarize macOS applications.
This action only runs on macOS.
## Inputs
| Name | Description | Example Value | Required |
| ---- | ----------- |---------------------------------------| -------- |
| certificate | The certificate for signing | `${{ secrets.CERTIFICATE }}` | Yes |
| certificate-password | The password for the certificate | `${{ secrets.CERTIFICATE_PASSWORD }}` | Yes |
| username | The Apple ID username to use for notarization | `${{ secrets.APPLE_ID_USERNAME }}` | Yes |
| password | The Apple ID password to use for notarization | `${{ secrets.APPLE_ID_PASSWORD }}` | Yes |
| apple-team-id | The Apple Team ID to use for signing and notarization | `${{ vars.APPLE_TEAM_ID }}` | Yes |
| app-path | The path(s) to the application to sign and notarize. Multiple files should be on separate lines. | `build/my_app` | Yes |
| entitlements-path | The path to the entitlements file to use for signing | `src/entitlements.plist` | No |## Usage
```yaml
- name: Sign and notarize the release build
uses: toitlang/[email protected]
with:
certificate: ${{ secrets.CERTIFICATE }}
certificate-password: ${{ secrets.CERTIFICATE_PASSWORD }}
username: ${{ secrets.APPLE_ID_USERNAME }}
password: ${{ secrets.APPLE_ID_PASSWORD }}
apple-team-id: ${{ vars.APPLE_TEAM_ID }}
app-path: build/my_app
```