Skip to content

Flutter Web Build

Flutter Web Build #4

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Flutter Web Build
on:
workflow_dispatch:
push:
tags:
- v1.*
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.5
- name: Install dependencies
run: flutter pub get
- name: Build web project
run: flutter build web
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: ${{ github.run_number }}.web
path: ./build/web
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: ./build/web