mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
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>
31 lines
893 B
YAML
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 |