-
-
Notifications
You must be signed in to change notification settings - Fork 128
63 lines (55 loc) · 1.79 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Deploy on TestFlight
on:
schedule:
- cron: "0 6 1 * *"
workflow_dispatch:
inputs:
bump_type:
type: choice
description: 'Select version bump type:'
options:
- patch
- minor
- major
jobs:
build_and_deploy:
runs-on: macos-14
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v4
with:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: 0
- name: Install dependencies
run: |
bundle install --redownload
- name: SSH Config
run: |
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
- name: SSH Keys
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.MATCH_GIT_PRIVATE_KEY }}
- name: Deploy on TestFlight
env:
OH_CROWDIN_PROJECT_ID: openhab-ios
OH_CROWDIN_USERNAME: ${{ secrets.OH_CROWDIN_USERNAME }}
OH_CROWDIN_ACCOUNT_KEY: ${{ secrets.OH_CROWDIN_ACCOUNT_KEY }}
BRANCH_NAME: ${{ github.ref_name }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
ASC_API_KEY_ID: ${{ secrets.ASC_API_KEY_ID }}
ASC_API_KEY_ISSUER_ID: ${{ secrets.ASC_API_KEY_ISSUER_ID }}
ASC_API_KEY: ${{ secrets.ASC_API_KEY }}
LANG: en_US.UTF-8
LC_ALL: en_US.UTF-8
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
FASTLANE_GITHUB_RELEASE_API_BEARER: ${{ secrets.ACCESS_TOKEN }}
uses: maierj/[email protected]
with:
lane: beta
options: '{ "bump": "${{ github.event.inputs.bump_type }}" }'
skip-tracking: true