Skip to content

prepa 1.5.0

prepa 1.5.0 #57

name: Build Flutter Windows
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.3'
- name: Install dependencies
run: flutter pub get
- name: Enable Windows desktop support
run: |
flutter config --enable-windows-desktop
flutter create .
- name: Build Windows app
run: flutter build windows
- name: Upload Windows build
uses: actions/upload-artifact@v3
with:
name: windows-build
path: build/windows/x64/runner/Release/