fix: cache key
All checks were successful
Create Scripts / Build (push) Successful in 2m40s

This commit is contained in:
椰子 2024-02-22 22:11:24 +08:00
parent d03561f333
commit 071baf8678

View File

@ -11,8 +11,11 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Cache Creates - name: Cache Creates
uses: actions/cache@v3 uses: actions/cache@v3
env:
cache-name: cache-create
with: with:
path: /root/.cargo/registry key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}
path: ~/.cargo
- name: Setup Cargo - name: Setup Cargo
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with: