45 lines
822 B
YAML
45 lines
822 B
YAML
name: Build Windows
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- devel
|
|
pull_request:
|
|
branches:
|
|
- devel
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: 'stable'
|
|
flutter-version: '3.24.1'
|
|
|
|
- name: disable analytics
|
|
run: flutter config --no-analytics
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Build for Windows
|
|
run: flutter build windows
|
|
|
|
- name: Gather artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: flutter-windows-build-latest
|
|
path: build/windows/x64/runner
|
|
if-no-files-found: error
|
|
|
|
- name: Build MSIX for Windows
|
|
run: dart run msix:create
|
|
|
|
|