File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Distribute builds for internal testing through Firebase
22
33on :
4- push :
5- # Run for QA builds.
6- tags :
7- - ' [0-9]+.[0-9]+.[0-9]+-qa.[0-9]+'
84 workflow_dispatch :
95
106env :
139jobs :
1410 build :
1511 runs-on : ubuntu-latest
12+ if : github.ref == 'refs/heads/dontmerge-demo-pay-and-verify'
1613
1714 environment :
1815 name : Internal testing
3431 java-version : " ${{env.java_version}}"
3532 distribution : corretto
3633
37- - name : Check if build version matches the tag
38- run : |
39- buildVersion="$(./gradlew -q printVersionName)"
40- tagVersion="${GITHUB_REF#refs/tags/}"
41- if [ "$buildVersion" != "$tagVersion" ]; then
42- echo "Build version '$buildVersion' doesn't match the tag '$tagVersion'"
43- exit 1
44- fi
45- shell : bash
46- env :
47- SOURCE_TAG : ${{ steps.branch_name.outputs.SOURCE_TAG }}
48-
4934 - name : Build and distribute Testnet APK
5035 run : ./gradlew app:assembleTstnetRelease app:appDistributionUploadTstnetRelease --stacktrace
5136
52- - name : Build and distribute Stagenet APK
53- run : ./gradlew app:assembleStagenetRelease app:appDistributionUploadStagenetRelease --stacktrace
54-
55- - name : Build and distribute Mainnet APK
56- run : ./gradlew app:assembleMainnetRelease app:appDistributionUploadMainnetRelease --stacktrace
57-
5837 - name : Upload the APKs
5938 uses : actions/upload-artifact@v4
6039 with :
You can’t perform that action at this time.
0 commit comments