fix: persist cache upload settings

This commit is contained in:
2026-05-03 21:32:27 -07:00
parent 1386c59eaa
commit fdb18503ba

View File

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