Skip to content

Installing an Apple certificate on macOS runners for Xcode development

License

Notifications You must be signed in to change notification settings

nickwph/apple-build-certificate-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 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

Packages

No packages published