t
All checks were successful
Create Scripts / Build (push) Successful in 1m44s

This commit is contained in:
椰子 2025-06-27 19:37:28 +08:00
parent 33b78db6f2
commit faa6acac6f

View File

@ -13,8 +13,9 @@ jobs:
- uses: actions/cache@v4
env:
prefix-key: v0-rust
hash-short: $( $${{ hashFiles('Cargo.lock') }} | cut -c 1-8 )
with:
key: ${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock')|head -c 8 }}
key: ${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-${{ env.hash-short }}
restore-keys: |
${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-
${{ env.prefix-key }}-${{ runner.os }}-