Skip to content

Codesign and Notarize

Actions
A GitHub Action to codesign and notarize macOS applications
v1.2.1
Latest
Star (1)

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

- 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

Codesign and Notarize is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A GitHub Action to codesign and notarize macOS applications
v1.2.1
Latest

Codesign and Notarize is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.