Skip to content

Commit 42e3402

Browse files
committed
ci
1 parent a8573e9 commit 42e3402

File tree

3 files changed

+65
-11
lines changed

3 files changed

+65
-11
lines changed

.github/workflows/tasks-ios.yaml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy tasks to TestFlight
2+
3+
env:
4+
RUBY_VERSION: '2.6.10'
5+
FLUTTER_VERSION: '3.13.0'
6+
MELOS_VERSION: '3.0.0'
7+
8+
on:
9+
push:
10+
branches:
11+
- '*'
12+
tags:
13+
- 'v*'
14+
pull_request:
15+
16+
jobs:
17+
18+
beta:
19+
runs-on: macos-latest
20+
environment: 'tasks (iOS: TestFlight)'
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ env.RUBY_VERSION }}
27+
bundler-cache: true
28+
29+
- uses: subosito/flutter-action@v2
30+
with:
31+
flutter-version: ${{ env.FLUTTER_VERSION }}
32+
cache: true
33+
34+
- uses: bluefireteam/melos-action@v1
35+
with:
36+
melos-version: ${{ env.MELOS_VERSION }}
37+
38+
- run: bundle install
39+
working-directory: apps/tasks/ios
40+
41+
- name: fastlane beta
42+
run: bundle exec fastlane beta
43+
working-directory: apps/tasks/ios
44+
env:
45+
MATCH_PASSWORD: ${{ env.MATCH_PASSWORD }}
46+
MATCH_USERNAME: ${{ env.MATCH_USERNAME }}
47+
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ env.APP_STORE_CONNECT_API_KEY_KEY_ID }}
48+
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ env.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
49+
APP_STORE_CONNECT_API_KEY_KEY: ${{ env.APP_STORE_CONNECT_API_KEY_KEY }}

apps/tasks/ios/Gemfile.lock

+15-11
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ GEM
77
public_suffix (>= 2.0.2, < 6.0)
88
artifactory (3.0.15)
99
atomos (0.1.3)
10-
aws-eventstream (1.2.0)
11-
aws-partitions (1.855.0)
12-
aws-sdk-core (3.187.1)
10+
aws-eventstream (1.3.0)
11+
aws-partitions (1.856.0)
12+
aws-sdk-core (3.188.0)
1313
aws-eventstream (~> 1, >= 1.0.2)
1414
aws-partitions (~> 1, >= 1.651.0)
1515
aws-sigv4 (~> 1.5)
1616
jmespath (~> 1, >= 1.6.1)
17-
aws-sdk-kms (1.72.0)
18-
aws-sdk-core (~> 3, >= 3.184.0)
17+
aws-sdk-kms (1.73.0)
18+
aws-sdk-core (~> 3, >= 3.188.0)
1919
aws-sigv4 (~> 1.1)
20-
aws-sdk-s3 (1.138.0)
21-
aws-sdk-core (~> 3, >= 3.181.0)
20+
aws-sdk-s3 (1.139.0)
21+
aws-sdk-core (~> 3, >= 3.188.0)
2222
aws-sdk-kms (~> 1)
2323
aws-sigv4 (~> 1.6)
24-
aws-sigv4 (1.6.1)
24+
aws-sigv4 (1.7.0)
2525
aws-eventstream (~> 1, >= 1.0.2)
2626
babosa (1.0.4)
2727
claide (1.1.0)
@@ -32,7 +32,8 @@ GEM
3232
declarative (0.0.20)
3333
digest-crc (0.6.5)
3434
rake (>= 12.0.0, < 14.0.0)
35-
domain_name (0.6.20231109)
35+
domain_name (0.5.20190701)
36+
unf (>= 0.0.5, < 1.0.0)
3637
dotenv (2.8.1)
3738
emoji_regex (3.2.3)
3839
excon (0.104.0)
@@ -188,6 +189,9 @@ GEM
188189
tty-spinner (0.9.3)
189190
tty-cursor (~> 0.7)
190191
uber (0.1.0)
192+
unf (0.1.4)
193+
unf_ext
194+
unf_ext (0.0.9.1)
191195
unicode-display_width (2.5.0)
192196
webrick (1.8.1)
193197
word_wrap (1.0.0)
@@ -204,10 +208,10 @@ GEM
204208
xcpretty (~> 0.2, >= 0.0.7)
205209

206210
PLATFORMS
207-
x86_64-darwin-23
211+
ruby
208212

209213
DEPENDENCIES
210214
fastlane
211215

212216
BUNDLED WITH
213-
2.4.10
217+
1.17.2

apps/tasks/ios/fastlane/Fastfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ platform :ios do
3636

3737
desc "Push a new beta build to TestFlight"
3838
lane :beta do
39+
setup_ci if ENV['CI']
3940
sync_code_signing(
4041
type: "appstore",
4142
app_identifier: 'de.helpwave.tasks',

0 commit comments

Comments
 (0)