1 Commits

Author SHA1 Message Date
root 9d174d8db1 release.yml: drop apt cache (Gitea restore times out on 300MB)
Build / test (push) Successful in 1m12s
Build / build-windows (push) Successful in 56s
Release / release (push) Successful in 2m59s
Apt cache save works (28s in v0.1.4) but the next run can't restore
it: 'getCacheEntry failed: Request timeout' — Gitea cache backend
chokes on the ~300MB archive. Drop the cache step rather than burn
30s every run on a save that the next run can't read.

Real fix: bake wine + innoextract + xauth + wine32:i386 into a
custom CI image on git.okcu.io's registry, use container.image to
pull it. Defer until release frequency justifies the setup work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 03:26:37 +03:00
+7 -10
View File
@@ -48,16 +48,13 @@ jobs:
key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: go-${{ runner.os }}-
# Cache apt downloads — saves ~50s on the wine + innoextract install.
# Bump the cache key (-v2, -v3, ...) when the package list changes.
- name: Cache apt packages
id: apt-cache
uses: actions/cache@v4
with:
path: |
/var/cache/apt/archives
/var/lib/apt/lists
key: apt-trixie-wine-innoextract-v2
# NOTE: actions/cache for the apt archive (~300 MB) is disabled. The
# save step works (~28s in v0.1.4) but restore times out on the
# next run — Gitea's cache server can't push 300 MB back fast
# enough. The Wine + Inno Setup install stays at ~1m20s. The
# right fix is a pre-baked Docker image (golang:1.25 + wine +
# innoextract + xauth + wine32:i386) pushed to git.okcu.io as
# the job's container.image. Tracked as future work.
- name: Extract version from tag
id: version