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 42e3402
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 11 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/tasks-ios.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
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: 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 }}

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

- name: fastlane beta
run: bundle exec fastlane beta
working-directory: apps/tasks/ios
env:
MATCH_PASSWORD: ${{ env.MATCH_PASSWORD }}
MATCH_USERNAME: ${{ env.MATCH_USERNAME }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ env.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ env.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ env.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
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

0 comments on commit 42e3402

Please sign in to comment.