Skip to content

Build Flet Windows App #8

Build Flet Windows App

Build Flet Windows App #8

Workflow file for this run

name: Build Flet Windows App
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flet pyinstaller
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.29.2'
channel: stable
- name: Build Windows app
run: |
set PYTHONIOENCODING=utf-8
set FLET_NO_RICH=1
flet build windows
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: windows-build
path: dist/**