Files
flutter/.github/workflows/build-windows.yml
dependabot[bot] 9fc0a68937 Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 00:07:55 +00: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@v6
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@v6
with:
name: builds-windows
path: build\windows\x64\runner\Release\wger.exe