Skip to content

Installing an Apple certificate on macOS runners for Xcode development

License

Notifications You must be signed in to change notification settings

5d5f8a0/apple-build-certificate-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apple Build Certificate Action

Installing an Apple certificate on macOS runners for Xcode development.

More information can be found in GitHub official documentation.

Encode certificate as action secret

base64 -i BUILD_CERTIFICATE.p12

Installing provisioning profiles

It is recommended to use apple-provisioning-profile-action at the same time to install the needed provisioning profiles.

Samaple usage

jobs:
  test:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v3
      - uses: nickwph/apple-build-certificate-action@v1
        with:
          certificate-base64: ${{ secrets.CERTIFICATE_BASE64 }}
          certificate-password: ${{ secrets.CERTIFICATE_PASSWORD }}
          certificate-file: ${{ secrets.CERTIFICATE_PATH }}  # Optional: Ignored if certificate-base64 is defined
      - uses: nickwph/apple-provisioning-profile-action@v1   # Optional: Recommend to use with apple-provisioning-profile-action
        with:
          profile-base64: ${{ secrets.PROFILE_BASE64 }}
          profile-file: ${{ secrets.CERTIFICATE_PATH }}      # Optional: Ignored if profile-base64 is defined

About

Installing an Apple certificate on macOS runners for Xcode development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published