From 3690bff3b2933c0aa9bcf378b61b7364ce3d875d Mon Sep 17 00:00:00 2001 From: Tlntin Date: Tue, 18 Apr 2023 21:30:34 +0800 Subject: [PATCH] Update pake_build_with_cache.yaml Signed-off-by: Tlntin --- .github/workflows/pake_build_with_cache.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pake_build_with_cache.yaml b/.github/workflows/pake_build_with_cache.yaml index f746c42..b9faf45 100644 --- a/.github/workflows/pake_build_with_cache.yaml +++ b/.github/workflows/pake_build_with_cache.yaml @@ -62,6 +62,7 @@ jobs: - name: rust cache restore uses: actions/cache/restore@v3 + id: cache_store with: path: | ~/.cargo/bin/ @@ -99,6 +100,7 @@ jobs: - name: rust cache store uses: actions/cache/save@v3 + if: steps.cache_store.outputs.cache-hit != 'true' with: path: | ~/.cargo/bin/