From 1362764b2bf431b6e7a0bf4f8a1dbeabf0e5cdc7 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 23 Jul 2022 07:10:25 -0400 Subject: [PATCH] Only cache cargo registry and git --- .github/actions/cached-rust/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/cached-rust/action.yml b/.github/actions/cached-rust/action.yml index a86eb866..12ea9a07 100644 --- a/.github/actions/cached-rust/action.yml +++ b/.github/actions/cached-rust/action.yml @@ -19,7 +19,8 @@ runs: uses: actions/cache@v3 with: path: | - ~/.cargo + ~/.cargo/registry + ~/.cargo/git ./target key: ${{ runner.os }}-${{ runner.arch }}-rust-${{ inputs.toolchain }}