feat: implement API version negotiation for QS API #471
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
# SPDX-FileCopyrightText: 2024 Phoenix R&D GmbH <[email protected]> | |
# | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
name: Build Android app | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
android-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Just | |
uses: extractions/setup-just@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
- name: Set up Flutter FVM | |
uses: kuhnroyal/flutter-fvm-config-action/setup@v3 | |
with: | |
path: 'app/.fvmrc' | |
- name: Install required Java version | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Set up Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Set up Android CI | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: just setup-android-ci | |
- name: Integrate bridge | |
run: just frb-integrate | |
- name: Generate Dart files | |
run: just generate-dart-files | |
- name: Build Android app | |
run: | | |
cd app/fastlane && bundle exec fastlane android beta_android --verbose |