Skip to content

Flutter Migration & New Web UI #26

Flutter Migration & New Web UI

Flutter Migration & New Web UI #26

Workflow file for this run

name: Production Flutter Web Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: Update & Upgrade System
run: sudo apt-get update -y && sudo apt-get upgrade -y
- name: git-checkout
uses: actions/checkout@v2
- name: Flutter setup
uses: subosito/flutter-action@v2
with:
flutter-version: "3.22"
- name: Setup NodeJs
uses: actions/setup-node@v4
with:
node-version: "21"
- name: Set up JDK 15
uses: actions/setup-java@v1
with:
java-version: 15
- name: Flutter Install Project Dependencies
run: flutter pub get
- name: Build Flutter web Project
run: flutter build web --release
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: build
FOLDER: build/web
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"