Files
flutter/.github/workflows/build-windows.yml
dependabot[bot] 13e39bd958 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 20:10:13 +02:00

31 lines
893 B
YAML

name: Build Windows
on:
workflow_call:
inputs:
ref:
required: true
type: string
jobs:
# TODO: note that we currently only upload the .exe file, which is not
# sufficient for a proper Windows release. See the documentation
# for what would be necessary (low priority, but nice to have):
# https://docs.flutter.dev/platform-integration/windows/building
build_windows:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout application
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
- name: Common flutter setup
uses: ./.github/actions/flutter-common
- name: Build .exe
run: flutter build windows --release
- uses: actions/upload-artifact@v4
with:
name: builds-windows
path: build\windows\x64\runner\Release\wger.exe