From c5673559d0ffcc852cd419f6504629c9c81d27cd Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 17 Jan 2024 23:34:39 +0100 Subject: [PATCH] try --- .gitea/workflows/action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 06c41aa..c3cce02 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: | @@ -63,9 +64,9 @@ jobs: ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- + target/ + key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo-release- - name: Build run: | cargo build --release --target $CARGO_TARGET @@ -116,6 +117,7 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo-release- - name: Build run: |