From 6dea33bc2285c22dfe08640f558bde78a85b5ad1 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Fri, 24 Apr 2026 09:18:59 +0200 Subject: [PATCH] Revert "ci(build): persist cargo registry via CARGO_HOME on existing volume" This reverts commit bed8aa7f8879a0269d28349b82b1a2c6e8d58b9c. --- .gitea/workflows/build-and-publish.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index 8674c33..1db2cb7 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -16,13 +16,6 @@ jobs: steps: - name: Build and publish changed packages run: | - # Persist cargo registry + git cache across runs by piggy-backing - # on the existing persistent CARGO_TARGET_DIR volume (compose - # mounts ./runner-cargo-target -> /cache/target). Without this, - # every build re-downloads every crate. - export CARGO_HOME="${CARGO_TARGET_DIR:-/cache/target}/cargo-home" - mkdir -p "$CARGO_HOME" - rm -rf repo git clone http://gitea:3000/nevaforget/moonarch-pkgbuilds.git repo cd repo