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: |