This repository was archived by the owner on May 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-9
lines changed Expand file tree Collapse file tree 1 file changed +36
-9
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,49 @@ jobs:
13
13
steps :
14
14
- name : Checkout code
15
15
uses : actions/checkout@v2
16
- - name : Setup Java
17
- uses : actions/setup-java@v1
18
- with :
19
- java-version : 12.x
20
16
- name : Decrypt Android keys
21
17
run : sh ./.github/scripts/decrypt_android_keys.sh
22
18
env :
23
19
ANDROID_KEYS_SECRET_PASSPHRASE : ${{ secrets.ANDROID_KEYS_SECRET_PASSPHRASE }}
20
+ - name : Setup Java
21
+ uses : actions/setup-java@v1
22
+ with :
23
+ java-version : ' 12.x'
24
+
24
25
- name : Setup Flutter
25
26
uses : subosito/flutter-action@v1
26
27
with :
27
- flutter-version : 1.17.5
28
+ channel : beta
29
+
30
+ - name : Flutter version
31
+ run : flutter --version
32
+
33
+ - name : Cache pub dependencies
34
+ uses : actions/cache@v2
35
+ with :
36
+ path : ${{ env.FLUTTER_HOME }}/.pub-cache
37
+ key : ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
38
+ restore-keys : ${{ runner.os }}-pub-
39
+
28
40
- name : Install Flutter dependencies
29
41
run : flutter pub get
30
- - name : Run Fastlane
31
- uses : maierj/fastlane-action @v1.4.0
42
+ - name : Setup Ruby
43
+ uses : actions/setup-ruby @v1
32
44
with :
33
- lane : closed_beta
34
- subdirectory : android
45
+ ruby-version : ' 2.6'
46
+
47
+ - name : Cache bundle dependencies
48
+ uses : actions/cache@v2
49
+ with :
50
+ path : vendor/bundle
51
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
52
+ restore-keys : ${{ runner.os }}-gems-
53
+
54
+ - name : Download bundle dependencies
55
+ run : |
56
+ gem install bundler:2.0.2
57
+ bundle config path vendor/bundle
58
+ bundle install
59
+ - name : Release to Google Play (beta)
60
+ run : |
61
+ bundle exec fastlane beta
You can’t perform that action at this time.
0 commit comments