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.10.1
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 }}
| 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. |
build_number |
string |
No |
— |
Custom build number. Skips auto-increment from TestFlight. |
version_number |
string |
No |
— |
Custom version number. Overrides default (1.0.0). |
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 |
No |
Private App Store Connect API issuer key for submitting build to App Store. Optional, because individual (user-based) API keys have no issuer ID. |
SECRET_PROPERTIES |
No |
Secrets in the format KEY = VALUE (one per line). |
SLACK_WEBHOOK_FEATURE_REVIEW |
No |
Slack incoming webhook for the feature review message. Without it no message is sent. |
Outputs
| Name |
Description |
from_commit |
First commit of the build range (exclusive), empty when a custom changelog is passed or nothing new was built. The feature review message uses it. |
to_commit |
Last commit of the build range, empty when a custom changelog is passed or nothing new was built. |
Internal Actions Used