fix: persist cache upload settings
This commit is contained in:
@@ -44,11 +44,15 @@ runs:
|
|||||||
echo "key=${{ inputs.cache-prefix }}-${{ inputs.cache-version }}-$OS-$ARCH-${{ inputs.toolchain }}-$HASH" >> $GITHUB_OUTPUT
|
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
|
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
|
- name: Restore Rust cache
|
||||||
id: cache-restore
|
id: cache-restore
|
||||||
env:
|
env:
|
||||||
ACTIONS_CACHE_SERVICE_V2: "0"
|
ACTIONS_CACHE_SERVICE_V2: "0"
|
||||||
CACHE_UPLOAD_CONCURRENCY: "1"
|
|
||||||
uses: https://gitea.com/actions/cache@v3
|
uses: https://gitea.com/actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
Reference in New Issue
Block a user