fix(release): keep signed CI archive redirects on loopback
Gitea CI / Build Windows x64 app (pull_request) Successful in 5m56s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 53s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
Gitea CI / Check code and tests (pull_request) Successful in 5m49s
Gitea CI / Build Android APK (pull_request) Successful in 3m30s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m4s

This commit is contained in:
lingjhf committed 2026-10-06 16:41:45 +08:00
1 parent 36b9fd9d21
commit 4346d9330a
3 files changed
+40 -1

No files matched your search

+3
View File
@@ -52,6 +52,9 @@ configure a reachable private endpoint before using runners on other hosts.
Checkout uses the same endpoint through its `github-server-url` input, retaining
the requested commit/tag and disabling persisted credentials. Release requests
retain the public Host header so Gitea response links pass the public-origin checks.
CI artifact ZIP download requests retain the loopback Host instead: Gitea returns
a signed redirect to the raw archive, and its Host must remain local for that
second request to avoid the public tunnel. Release attachment links stay public.
Compare warm CI runs after the first cache fill. Measure checks, Android compile,
Windows compile, packaging and artifact transfer separately. Total duration follows