Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSchaefer committed Nov 25, 2023
1 parent a8573e9 commit 96b3cd5
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 103 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/tasks-ios.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Deploy tasks to TestFlight

env:
RUBY_VERSION: '2.6.10'
FLUTTER_VERSION: '3.13.0'
MELOS_VERSION: '3.0.0'

on:
push:
branches:
- '*'
tags:
- 'v*'
pull_request:

jobs:

beta:
runs-on: macos-latest
environment: 'tasks (iOS: TestFlight)'
steps:
- uses: actions/checkout@v3

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true

- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true

- uses: bluefireteam/melos-action@v1
with:
melos-version: ${{ env.MELOS_VERSION }}

- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.HELPWAVE_BOT_GITHUB_SSH_KEY }}

- run: bundle install
working-directory: apps/tasks/ios

- name: fastlane beta
run: bundle exec fastlane beta
working-directory: apps/tasks/ios
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
26 changes: 15 additions & 11 deletions apps/tasks/ios/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ GEM
public_suffix (>= 2.0.2, < 6.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.855.0)
aws-sdk-core (3.187.1)
aws-eventstream (1.3.0)
aws-partitions (1.856.0)
aws-sdk-core (3.188.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.72.0)
aws-sdk-core (~> 3, >= 3.184.0)
aws-sdk-kms (1.73.0)
aws-sdk-core (~> 3, >= 3.188.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.138.0)
aws-sdk-core (~> 3, >= 3.181.0)
aws-sdk-s3 (1.139.0)
aws-sdk-core (~> 3, >= 3.188.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.6)
aws-sigv4 (1.6.1)
aws-sigv4 (1.7.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
Expand All @@ -32,7 +32,8 @@ GEM
declarative (0.0.20)
digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20231109)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.8.1)
emoji_regex (3.2.3)
excon (0.104.0)
Expand Down Expand Up @@ -188,6 +189,9 @@ GEM
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.9.1)
unicode-display_width (2.5.0)
webrick (1.8.1)
word_wrap (1.0.0)
Expand All @@ -204,10 +208,10 @@ GEM
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
x86_64-darwin-23
ruby

DEPENDENCIES
fastlane

BUNDLED WITH
2.4.10
1.17.2
2 changes: 1 addition & 1 deletion apps/tasks/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '16.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
4 changes: 2 additions & 2 deletions apps/tasks/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ SPEC CHECKSUMS:
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
url_launcher_ios: 68d46cc9766d0c41dbdc884310529557e3cd7a86

PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
PODFILE CHECKSUM: 4c438addb11b6da45ed7ae408823d68256222460

COCOAPODS: 1.11.3
COCOAPODS: 1.14.3
137 changes: 69 additions & 68 deletions apps/tasks/ios/Runner.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

1 change: 1 addition & 0 deletions apps/tasks/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ platform :ios do

desc "Push a new beta build to TestFlight"
lane :beta do
setup_ci if ENV['CI']
sync_code_signing(
type: "appstore",
app_identifier: 'de.helpwave.tasks',
Expand Down
26 changes: 13 additions & 13 deletions apps/tasks/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -413,10 +413,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
nested:
dependency: transitive
description:
Expand Down Expand Up @@ -618,18 +618,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -650,10 +650,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -746,10 +746,10 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
win32:
dependency: transitive
description:
Expand Down Expand Up @@ -791,5 +791,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.1.0 <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=3.13.0"

0 comments on commit 96b3cd5

Please sign in to comment.