Skip to content

Uses Flutter 3.19 in CI. #49

Uses Flutter 3.19 in CI.

Uses Flutter 3.19 in CI. #49

name: Flutter Web
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "3.19.x"
channel: "stable"
- name: Upgrades Flutter
run: flutter upgrade
working-directory: ./example
- name: Enable Web
run: flutter config --enable-web
working-directory: ./example
- name: Install Dependencies
run: flutter packages get
working-directory: ./example
- name: Build Web
run: flutter build web
working-directory: ./example
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: example/build/web