Skip to content

Commit 029a5ac

Browse files
committed
Update the firebase workflow for demo publishing
1 parent 9cf7419 commit 029a5ac

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

.github/workflows/firebase_internal_testing.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Distribute builds for internal testing through Firebase
22

33
on:
4-
push:
5-
# Run for QA builds.
6-
tags:
7-
- '[0-9]+.[0-9]+.[0-9]+-qa.[0-9]+'
84
workflow_dispatch:
95

106
env:
@@ -13,6 +9,7 @@ env:
139
jobs:
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
@@ -34,27 +31,9 @@ jobs:
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:

0 commit comments

Comments
 (0)