Skip to content

feat: Refactor model and add sqlite database #5

feat: Refactor model and add sqlite database

feat: Refactor model and add sqlite database #5

Workflow file for this run

name: Test, Build and Release apk
on: push
env:
FLUTTER_VERSION: 3.22.3
jobs:
build:
name: Build APK
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "zulu"
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: "stable"
architecture: x64
- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Build APP
run: flutter build apk --release
# - name: Push APK to Releases
# uses: ncipollo/release-action@v1
# with:
# artifacts: "build/app/outputs/apk/debug/*.apk"
# token: ${{ secrets.TOKEN }}