mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-29 09:20:56 +01:00
Update Windows build workflow to package release as a zip file
This should at least allow users to start the application
This commit is contained in:
12
.github/workflows/build-windows.yml
vendored
12
.github/workflows/build-windows.yml
vendored
@@ -12,10 +12,9 @@ on:
|
||||
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
|
||||
# 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
|
||||
@@ -31,7 +30,10 @@ jobs:
|
||||
- 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: build\windows\x64\runner\Release\wger.exe
|
||||
path: windows-x64.zip
|
||||
2
.github/workflows/make-release.yml
vendored
2
.github/workflows/make-release.yml
vendored
@@ -148,6 +148,6 @@ jobs:
|
||||
builds-ios/Runner.app.zip
|
||||
builds-ipa/Runner.xcarchive.zip
|
||||
builds-macos/wger.app.zip
|
||||
builds-windows/wger.exe
|
||||
builds-windows/windows-x64.zip
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user