Trigger connection update in MainActivity.onStart() #309
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build App | |
on: | |
push: | |
branches-ignore: | |
- l10n_main | |
- dependabot/* | |
pull_request: | |
branches-ignore: | |
- l10n_main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
flavor: [FullBeta, FullStable, FossBeta, FossStable] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
cache: gradle | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/[email protected] | |
- name: Configure Gradle | |
run: | | |
mkdir -p ~/.gradle/ | |
echo -e "mapsApiKey=AIzaSyA2t2893e9wccs9EnlnauJRgtqFNYQSp-o\norg.gradle.daemon=false" >> ~/.gradle/gradle.properties | |
- name: Build | |
run: ./gradlew :mobile:assemble${{ matrix.flavor }} | |
- name: Unit Tests | |
run: ./gradlew :mobile:test${{ matrix.flavor }}ReleaseUnitTest |