Skip to content

[DRAFT] build: Add build actions #1

[DRAFT] build: Add build actions

[DRAFT] build: Add build actions #1

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.4"
- run: flutter pub get
- run: flutter build apk
- uses: actions/upload-artifact@v2
with:
name: apk
path: build/app/outputs/flutter-apk/app-release.apk