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

- 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 }}
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 d0c3e90

Please sign in to comment.