use dart for getBootstapper
, remainingNewbieTicketsPerReputable
and remainingNewbieTicketsPerBootstrapper
#3556
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: Android Build | |
on: | |
push: | |
branches: [master, f-droid] | |
pull_request: | |
branches: [master, f-droid] | |
env: | |
NODE_VERSION: 18.14.2 | |
JAVA_VERSION: 12.x | |
jobs: | |
cancel_previous_runs: | |
name: Cancel Previous Runs | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
build-android: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
# Setup Environment | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
distribution: "zulu" | |
- name: Install flutter wrapper | |
run: ./scripts/install_flutter_wrapper.sh | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Get dependencies (i.e., melos) | |
run: .flutter/bin/dart pub get | |
- name: Melos Bootstrap | |
run: .flutter/bin/dart run melos bootstrap | |
- name: "Build JS" | |
run: .flutter/bin/dart run melos yarn-build | |
- name: "Build apk" | |
run: .flutter/bin/dart run melos build-apk-fdroid |