Skip to content

feat: enable github actions #2

feat: enable github actions

feat: enable github actions #2

Workflow file for this run

name: Flutter
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Flutter SDK
uses: flutter-actions/setup-flutter@v2
with:
channel: stable
version: 3.19.0
cache: true
- name: Install dependencies
run: flutter pub get
- name: Analyze project source
run: dart analyze
#- name: Run tests
# run: flutter test
- name: Build android
run: flutter build apk
- name: Build results
uses: actions/upload-artifact@v4
with:
name: app.apk
path: build/app/outputs/apk/release/app-release.apk