Release v1.15.2 #3949
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: Android Build | |
on: | |
push: | |
branches: [master, f-droid] | |
pull_request: | |
branches: [master, f-droid] | |
# Cancel a currently running workflow from the same PR, branch or tag when a new workflow is | |
# triggered (ref https://stackoverflow.com/a/72408109) | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-android: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
# Setup Environment | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: Install flutter wrapper | |
run: ./scripts/install_flutter_wrapper.sh | |
- name: Get dependencies (i.e., melos) | |
run: .flutter/bin/dart pub get | |
- name: Melos Bootstrap | |
run: .flutter/bin/dart run melos bootstrap | |
- name: "Build apk" | |
run: .flutter/bin/dart run melos build-apk-fdroid |