Files
flutter/.github/workflows/build-windows.yml
dependabot[bot] 4db33865df Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 00:52:32 +00:00

43 lines
1.1 KiB
YAML

name: Build Windows
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch/Tag to build'
required: true
default: 'master'
workflow_call:
inputs:
ref:
required: true
type: string
permissions:
contents: read
jobs:
# TODO: we currently upload the release folder as a ZIP, which works as a
# portable version. For a proper installer (e.g. via Inno Setup or MSIX),
# see: https://docs.flutter.dev/platform-integration/windows/building
build_windows:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout application
uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- name: Common flutter setup
uses: ./.github/actions/flutter-common
- name: Build .exe
run: flutter build windows --release
- name: Package release
run: Compress-Archive -Path build\windows\x64\runner\Release\* -DestinationPath windows-x64.zip
- uses: actions/upload-artifact@v7
with:
name: builds-windows
path: windows-x64.zip