fix(deps): update dependency org.jetbrains.androidx.navigation:navigation-compose to v2.8.0-alpha12 #1945
Workflow file for this run
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 Android app | |
on: | |
pull_request: | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y.%m')" | |
- name: Build app bundle | |
run: | | |
./gradlew bundleQa \ | |
"-PexternalVersionName=pr-${{ steps.date.outputs.date }}-${{ github.event.pull_request.number }}-${{ github.sha }}" | |
- name: Run linter | |
run: ./gradlew lint | |
- name: Run unit tests | |
run: ./gradlew testDebugUnitTest | |
- name: Upload app bundle to GitHub | |
uses: actions/upload-artifact@v4.6.0 | |
with: | |
name: apk | |
path: app-android/build/outputs/bundle/qa/app-android-qa.aab |