diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 387962b..3c5fafc 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -27,6 +27,7 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo-debug- - name: Build run: | @@ -66,6 +67,8 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo-release- + - name: Build run: | @@ -117,6 +120,7 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo-release- - name: Build run: |