Skip to content

Update flutter

Update flutter #55

Workflow file for this run

name: github pages
on:
push:
branches:
- main
- 3.0
jobs:
pages:
name: "Deploy on Github Pages"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: subosito/[email protected]
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Install intl utils
run: dart pub global activate intl_utils
- name: Generate localization
run: dart pub global run intl_utils:generate
- name: Code generation
run: dart run build_runner build -d
- name: Build
run: flutter build web
- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
publish_dir: ./build/web