diff --git a/.gitea/workflows/cron.yml b/.gitea/workflows/cron.yml index 1198d36..1c0990b 100644 --- a/.gitea/workflows/cron.yml +++ b/.gitea/workflows/cron.yml @@ -11,8 +11,11 @@ jobs: uses: actions/checkout@v4 - name: Cache Creates uses: actions/cache@v3 + env: + cache-name: cache-create with: - path: /root/.cargo/registry + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }} + path: ~/.cargo - name: Setup Cargo uses: actions-rs/toolchain@v1 with: