Skip to content

Commit f870af5

Browse files
committed
ci
1 parent a8573e9 commit f870af5

File tree

8 files changed

+159
-103
lines changed

8 files changed

+159
-103
lines changed

.github/workflows/tasks-ios.yaml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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-13
20+
environment: 'tasks (iOS: TestFlight)'
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- uses: maxim-lobanov/setup-xcode@v1
25+
with:
26+
xcode-version: '15.0.1'
27+
28+
- uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ env.RUBY_VERSION }}
31+
bundler-cache: true
32+
33+
- uses: subosito/flutter-action@v2
34+
with:
35+
flutter-version: ${{ env.FLUTTER_VERSION }}
36+
cache: true
37+
38+
- uses: bluefireteam/melos-action@v1
39+
with:
40+
melos-version: ${{ env.MELOS_VERSION }}
41+
42+
- name: Setup SSH
43+
uses: webfactory/ssh-agent@v0.8.0
44+
with:
45+
ssh-private-key: ${{ secrets.HELPWAVE_BOT_GITHUB_SSH_KEY }}
46+
47+
- run: bundle install
48+
working-directory: apps/tasks/ios
49+
50+
- name: fastlane beta
51+
run: bundle exec fastlane beta
52+
working-directory: apps/tasks/ios
53+
env:
54+
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
55+
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
56+
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
57+
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
58+
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.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/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
platform :ios, '16.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

apps/tasks/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ SPEC CHECKSUMS:
4343
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
4444
url_launcher_ios: 68d46cc9766d0c41dbdc884310529557e3cd7a86
4545

46-
PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
46+
PODFILE CHECKSUM: 4c438addb11b6da45ed7ae408823d68256222460
4747

48-
COCOAPODS: 1.11.3
48+
COCOAPODS: 1.14.3

apps/tasks/ios/Runner.xcodeproj/project.pbxproj

+69-68
Large diffs are not rendered by default.

apps/tasks/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

-8
This file was deleted.

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',

apps/tasks/pubspec.lock

+13-13
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ packages:
7777
dependency: transitive
7878
description:
7979
name: collection
80-
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
80+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
8181
url: "https://pub.dev"
8282
source: hosted
83-
version: "1.17.2"
83+
version: "1.18.0"
8484
convert:
8585
dependency: transitive
8686
description:
@@ -413,10 +413,10 @@ packages:
413413
dependency: transitive
414414
description:
415415
name: meta
416-
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
416+
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
417417
url: "https://pub.dev"
418418
source: hosted
419-
version: "1.9.1"
419+
version: "1.10.0"
420420
nested:
421421
dependency: transitive
422422
description:
@@ -618,18 +618,18 @@ packages:
618618
dependency: transitive
619619
description:
620620
name: stack_trace
621-
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
621+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
622622
url: "https://pub.dev"
623623
source: hosted
624-
version: "1.11.0"
624+
version: "1.11.1"
625625
stream_channel:
626626
dependency: transitive
627627
description:
628628
name: stream_channel
629-
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
629+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
630630
url: "https://pub.dev"
631631
source: hosted
632-
version: "2.1.1"
632+
version: "2.1.2"
633633
string_scanner:
634634
dependency: transitive
635635
description:
@@ -650,10 +650,10 @@ packages:
650650
dependency: transitive
651651
description:
652652
name: test_api
653-
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
653+
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
654654
url: "https://pub.dev"
655655
source: hosted
656-
version: "0.6.0"
656+
version: "0.6.1"
657657
typed_data:
658658
dependency: transitive
659659
description:
@@ -746,10 +746,10 @@ packages:
746746
dependency: transitive
747747
description:
748748
name: web
749-
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
749+
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
750750
url: "https://pub.dev"
751751
source: hosted
752-
version: "0.1.4-beta"
752+
version: "0.3.0"
753753
win32:
754754
dependency: transitive
755755
description:
@@ -791,5 +791,5 @@ packages:
791791
source: hosted
792792
version: "3.1.2"
793793
sdks:
794-
dart: ">=3.1.0 <4.0.0"
794+
dart: ">=3.2.0-194.0.dev <4.0.0"
795795
flutter: ">=3.13.0"

0 commit comments

Comments
 (0)