Generate iOS Certs #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate iOS Certs | |
on: | |
workflow_run: | |
workflows: ['iOS One-Time Setup'] | |
types: | |
- completed | |
workflow_dispatch: | |
jobs: | |
generate_certs: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
bundler-cache: true | |
- name: Build iOS | |
shell: bash | |
run: | | |
eval "$(ssh-agent -s)" | |
ssh-add - <<< "${MATCH_DEPLOY_KEY}" | |
bundle exec fastlane ios sync_certificates | |
env: | |
APPSTORE_ISSUER_ID: ${{ secrets.APPSTORE_ISSUER_ID }} | |
APPSTORE_KEY_ID: ${{ secrets.APPSTORE_KEY_ID }} | |
APPSTORE_P8: ${{ secrets.APPSTORE_P8 }} | |
IOS_BUNDLE_ID: com.finoldigital.CardGameSim | |
MATCH_PERSONAL_ACCCESS_TOKEN: ${{ secrets.CGS_PAT }} | |
GITHUB_REPOSITORY: ${{ env.GITHUB_REPOSITORY }} | |
MATCH_REPOSITORY: ${{ secrets.MATCH_REPOSITORY }} | |
MATCH_DEPLOY_KEY: ${{ secrets.MATCH_DEPLOY_KEY }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} |