Skip to content

update todo-list && do not build for windows #4

update todo-list && do not build for windows

update todo-list && do not build for windows #4

Workflow file for this run

name: Flutter build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.8'
- name: Get dependencies
run: flutter pub get
- name: Build for Android
run: flutter build apk --split-per-abi --release
- name: Build for web
run: flutter build web
- name: Archive android
uses: actions/upload-artifact@v2
with:
name: build
path: build/app/outputs/flutter-apk/
- name: Archive web
uses: actions/upload-artifact@v2
with:
name: build
path: build/web