Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

poad/apple-provisioning-profiles-downloader

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

Repository files navigation

GitHub Action to import Apple Code-signing Certificates and Keys

License PRs welcome! version

Usage

API Private Key from GitHub Secrets

jobs:
  build:
    runs-on: macOS-latest
    steps:
    - name: 'Download Provisioning Profiles'
      id: provisioning
      uses: poad/apple-provisioning-profiles-downloader@v1.0.8
      with: 
        bundle-id: 'com.example.App'
        profile-type: 'IOS_APP_STORE'
        issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
        api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
        api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }}
  
    - name: 'Another example step'
      run: echo ${{ steps.provisioning.outputs.profiles }}

API Private Key from file

jobs:
  build:
    runs-on: macOS-latest
    steps:
    - name: 'Download Provisioning Profiles'
      id: provisioning
      uses: poad/apple-provisioning-profiles-downloader@v1.0.8
      with: 
        bundle-id: 'com.example.App'
        profile-type: 'IOS_APP_STORE'
        issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
        api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
        api-private-key-file: ./your-private-key-file.p8
  
    - name: 'Another example step'
      run: echo ${{ steps.provisioning.outputs.profiles }}

Additional Arguments

See action.yml for more details.

Outputs

The action outputs an array of JSON objects to the action output named profiles. You can access and manipulate this data using workflow expressions.

Contributing

We welcome your interest in contributing to this project. Please read the Contribution Guidelines for more guidance.

License

Any contributions made under this project will be governed by the MIT License