An open API service indexing awesome lists of open source software.

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

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
```