/apple-action

Manage apple certificate on github action

apple-action

Manage apple related tasks on github action.

Deploy ios application to aws.

- uses: ab180/apple-action/deploy-ios-application-to-aws@v3
  with:
    application: Build/Application.ipa
    application-version: 1.0.0
    application-identifier: com.example.application
    bucket: Bucket # Name of S3
    distribution:  AAAAAAAAAAAAAA # ID of CloudFront
    domain: application.example.com # Domain of CloudFront
    directory: Build # Directory of S3

Output

  • install-url: URL to install application
  • download-url: URL to download application
  • expire: Expire date of deploy

Create if does not exist and download certificate.

- uses: ab180/apple-action/prepare-certificate@v3
  with:
    app-store-connect-issuer-id: ${{ secrets.app-store-connect-issuer-id }}
    app-store-connect-key-id: ${{ secrets.app-store-connect-key-id }}
    app-store-connect-private-key: ${{ secrets.app-store-connect-private-key }}
    certificate-distribution-private-key: ${{ secrets.certificate-distribution-private-key }}
    certificate-distribution-private-key-password: ${{ secrets.certificate-distribution-private-key_PASSWORD }}
    certificate-development-private-key: ${{ secrets.certificate-development-private-key }}
    certificate-development-private-key-password: ${{ secrets.certificate-development-private-key_PASSWORD }}

Apply options to xcodebuild globally.

- uses: ab180/apple-action/prepare-xcodebuild@v3
  with:
    version: 15.3
    xcbeautify: true
    automatic-signing: true
    app-store-connect-issuer-id: ${{ secrets.app-store-connect-issuer-id }}
    app-store-connect-key-id: ${{ secrets.app-store-connect-key-id }}
    app-store-connect-private-key: ${{ secrets.app-store-connect-private-key }}