fix(ci): package saved Windows builds without Flutter resolution
Gitea CI / Check code and tests (pull_request) Failing after 5m36s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 1s

This commit is contained in:
lingjhf committed 2026-10-06 14:07:09 +08:00
1 parent e9d04bea2c
commit 8377e17ef1
5 files changed
+54 -9

No files matched your search

+3
View File
@@ -24,6 +24,9 @@ the runner user's `%LOCALAPPDATA%/Cutdex/ci-tools/`. Later builds reuse them aft
version checks. Python interpreter identity and tool versions isolate the cache,
and a mutex protects installation across concurrent workflows. .NET setup remains
in the Windows packaging job to provide SDK 10 and the runtime required by `vpk`.
The Windows build verifies that the resolved deskup native SDK matches the pinned
Velopack version before saving the app. Packaging imports no Flutter package
configuration and independently verifies the installed vpk version.
APK and Windows package uploads use `compression-level: 0` to avoid recompressing
already compressed artifacts. The saved Windows app uses compression level 1,
+4
View File
@@ -113,6 +113,10 @@ jobs:
Remove-Item Env:CUTDEX_WINDOWS_PATH, Env:CUTDEX_WINDOWS_PACKAGE_PATH -ErrorAction SilentlyContinue
flutter build windows --no-pub --release --flavor production
if ($LASTEXITCODE -ne 0) { throw 'Windows build failed.' }
- name: Verify native SDK matches pinned packaging tools
run: |
python tool/windows/windows_updates.py verify-sdk
if ($LASTEXITCODE -ne 0) { throw 'Windows native SDK version validation failed.' }
- name: Save Windows app for independent packaging retries
uses: ./.gitea/actions/upload-artifact
with: