File tree 4 files changed +32
-0
lines changed
4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 28
28
restore-keys : |
29
29
${{ runner.os }}-gradle-
30
30
31
+ - name : Setup Ruby
32
+ if : ${{ github.repository == 'fossasia/pslab-android' }}
33
+ uses : ruby/setup-ruby@v1
34
+ with :
35
+ ruby-version : ' 3.3'
36
+ bundler-cache : true
37
+
38
+ - name : Prepare Bundler
39
+ if : ${{ github.repository == 'fossasia/pslab-android' }}
40
+ run : |
41
+ bundle config path vendor/bundle
42
+ bundle install --jobs 4 --retry 3
43
+
31
44
- name : Setup Java
32
45
uses : actions/setup-java@v3
33
46
with :
@@ -133,6 +146,14 @@ jobs:
133
146
git branch -m apk
134
147
git push --force origin apk
135
148
149
+ - name : Update app in Open Testing track
150
+ if : ${{ github.repository == 'fossasia/pslab-android' }}
151
+ run : |
152
+ bundle exec fastlane uploadToOpenTesting
153
+ if [[ $? -ne 0 ]]; then
154
+ exit 1
155
+ fi
156
+
136
157
- name : Run Release Drafter
137
158
uses : release-drafter/release-drafter@v6
138
159
with :
Original file line number Diff line number Diff line change
1
+ source "https://rubygems.org"
2
+
3
+ gem "fastlane"
Original file line number Diff line number Diff line change
1
+ json_key_file("./scripts/fastlane.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
2
+ package_name("io.pslab") # e.g. com.krausefx.app
Original file line number Diff line number Diff line change
1
+ default_platform ( :android )
2
+ platform :android do
3
+ lane :uploadToOpenTesting do
4
+ upload_to_play_store ( track : "beta" , aab :"app/build/outputs/bundle/release/app-release.aab" )
5
+ end
6
+ end
You can’t perform that action at this time.
0 commit comments