-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (51 loc) ยท 1.88 KB
/
feature.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
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: feature-test
on:
push:
branches: [ "feature/*" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
- uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: initial mise
run: |
curl https://mise.jdx.dev/install.sh | sh
echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
- name: initial tuist
run: mise install tuist
# - name: Create key.json
# run: |
# mkdir -p fastlane
# echo '{
# "key_id": "${{ secrets.APP_STORE_CONNECT_KEY_ID }}",
# "issuer_id": "${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}",
# "key": "${{ secrets.APP_STORE_CONNECT_API }}",
# "duration": 1200,
# "in_house": false
# }' > fastlane/key.json
# - name: Match Fastlane
# env:
# MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
# run: fastlane match appstore --readonly
- name: Release TestFlight
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_URL: ${{ secrets.MATCH_URL }}
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }}
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }}
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
APP_STORE_CONNECT_API: ${{ secrets.APP_STORE_CONNECT_API }}
run: fastlane beta