-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (54 loc) · 1.58 KB
/
continuous-delivery.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: continuous-delivery
on:
workflow_dispatch
env:
FLUTTER_VERSION: 3.22.1
jobs:
continuous-delivery-android:
runs-on: ubuntu-latest
defaults:
run:
working-directory: app/android
steps:
- name: 📚 Git checkout
uses: actions/checkout@v3
- name: 🐦 Install flutter
uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: 💎 Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Write google services
shell: bash
run: |
echo "$DEV_GOOGLE_SERVICE" | base64 --decode > ./app/android/app/google-services.json
- run: bundle install
- name: 🚀 Deploy Android development application
run: bundle exec fastlane development
# continuous-delivery-ios:
# runs-on: macos-latest
# defaults:
# run:
# working-directory: app/ios
# steps:
# - name: 📚 Git checkout
# uses: actions/checkout@v3
# - name: 🐦 Install flutter
# uses: subosito/flutter-action@v2
# with:
# cache: true
# channel: stable
# flutter-version: ${{ env.FLUTTER_VERSION }}
# - name: 💎 Install ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.3'
# bundler-cache: true
# - run: bundle install
# - name: 🚀 Deploy Android development application
# run: bundle exec fastlane development