File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 2828 restore-keys : |
2929 ${{ runner.os }}-gradle-
3030
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+
3144 - name : Setup Java
3245 uses : actions/setup-java@v3
3346 with :
@@ -133,6 +146,14 @@ jobs:
133146 git branch -m apk
134147 git push --force origin apk
135148
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+
136157 - name : Run Release Drafter
137158 uses : release-drafter/release-drafter@v6
138159 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