diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cba7e8f..af574ce 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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