Skip to content

Insert ASC keys from secrets to env #2

Insert ASC keys from secrets to env

Insert ASC keys from secrets to env #2

name: Self-hosted Build
on:
workflow_call:
inputs:
use_git_lfs:
description: Whether to download Git-LFS files.
type: boolean
required: false
default: false
secrets:
MATCH_PASSWORD:
required: true
description: >
Password for decrypting of certificates and provisioning profiles.
APP_STORE_CONNECT_API_KEY_KEY:
required: true
description: >
Private App Store Connect API key for submitting build to App Store.
APP_STORE_CONNECT_API_KEY_KEY_ID:
required: true
description: >

Check failure on line 22 in .github/workflows/ios-selfhosted-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ios-selfhosted-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
Private App Store Connect API key for submitting build to App Store.
APP_STORE_CONNECT_API_KEY_ISSUER_ID:
required: true
description: >
Private App Store Connect API issuer key for submitting build to App Store.
jobs:
build:
runs-on: self-hosted
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: ${{ inputs.use_git_lfs }}
- name: Fastlane Beta
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec fastlane beta
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
PR_TITLE: ${{ github.event.pull_request.title }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
- name: Upload IPA
uses: actions/upload-artifact@v2
with:
name: Build.ipa
path: build_output/*.ipa
- name: Upload dSYM
uses: actions/upload-artifact@v2
with:
name: Build.app.dSYM.zip
path: build_output/*.app.dSYM.zip
- name: Clear Archives
run: |
rm -rf ~/Library/Developer/Xcode/Archives