From fdb18503ba3af4e7f00d6c3e12389b184c0e8255 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 3 May 2026 21:32:27 -0700 Subject: [PATCH] fix: persist cache upload settings --- .gitea/actions/rust-cache/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/actions/rust-cache/action.yml b/.gitea/actions/rust-cache/action.yml index 707a4a6..80b4bc7 100644 --- a/.gitea/actions/rust-cache/action.yml +++ b/.gitea/actions/rust-cache/action.yml @@ -44,11 +44,15 @@ runs: echo "key=${{ inputs.cache-prefix }}-${{ inputs.cache-version }}-$OS-$ARCH-${{ inputs.toolchain }}-$HASH" >> $GITHUB_OUTPUT echo "restore-prefix=${{ inputs.cache-prefix }}-${{ inputs.cache-version }}-$OS-$ARCH-${{ inputs.toolchain }}-" >> $GITHUB_OUTPUT + - name: Configure cache upload + shell: bash + run: | + echo "CACHE_UPLOAD_CONCURRENCY=1" >> "$GITHUB_ENV" + - name: Restore Rust cache id: cache-restore env: ACTIONS_CACHE_SERVICE_V2: "0" - CACHE_UPLOAD_CONCURRENCY: "1" uses: https://gitea.com/actions/cache@v3 with: path: |