iOS Self-hosted On-Demand Build
Source: workflows/ios-selfhosted-on-demand-build.yml
Runner: Self-hosted
Usage
jobs:
ios-self-hosted-on-demand-build:
uses: futuredapp/.github/.github/workflows/ios-selfhosted-on-demand-build.yml@2.2.0
secrets:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
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 }}
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
runner_label |
string |
No | self-hosted |
The custom label for the self-hosted runner to use for the build job. |
timeout_minutes |
number |
No | 30 |
Job timeout in minutes |
changelog |
string |
No | — | Will be used as TestFlight changelog |
checkout_depth |
number |
No | 100 |
The depth of the git history to fetch for changelog generation. |
changelog_fallback_lookback |
string |
No | 24 hours |
The amount of time to look back for merge commits when no previous build commit is found. Default is 24 hours. |
use_git_lfs |
boolean |
No | False |
Whether to download Git-LFS files. |
xcconfig_path |
string |
No | — | Path to the .xcconfig file. Selected secret properties will be appended to the end of this file. |
required_keys |
string |
No | — | Comma-separated list of required keys. |
custom_values |
string |
No | — | Custom string that can contains values specified in your workflow file. Those values will be placed into environment variable. Example: "CUSTOM-1: 1; CUSTOM-2: 2" |
Secrets
| Name | Required | Description |
|---|---|---|
MATCH_PASSWORD |
Yes | Password for decrypting of certificates and provisioning profiles. |
APP_STORE_CONNECT_API_KEY_KEY |
Yes | Private App Store Connect API key for submitting build to App Store. |
APP_STORE_CONNECT_API_KEY_KEY_ID |
Yes | Private App Store Connect API key for submitting build to App Store. |
APP_STORE_CONNECT_API_KEY_ISSUER_ID |
Yes | Private App Store Connect API issuer key for submitting build to App Store. |
SECRET_PROPERTIES |
No | Secrets in the format KEY = VALUE (one per line). |