From bb7419186fb60472c78c2f9fc7e326de144c28dc Mon Sep 17 00:00:00 2001 From: bmc-msft <41130664+bmc-msft@users.noreply.github.com> Date: Fri, 25 Jun 2021 13:32:48 -0400 Subject: [PATCH] bump github actions cache key IDs (#1024) --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 684f09de6b..7346d205c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ env: CARGO_TERM_COLOR: always SCCACHE_DIR: ${{github.workspace}}/sccache/ SCCACHE_CACHE_SIZE: 1G + ACTIONS_CACHE_KEY_DATE: 2021-06-25-01 jobs: agent: @@ -19,7 +20,7 @@ jobs: ~/.cargo/registry ~/.cargo/git ~/.cargo/bin - key: rust-${{ runner.os }}-2020-11 + key: rust-${{ runner.os }}-${{ env.ACTIONS_CACHE_KEY_DATE }} restore-keys: | rust-${{ runner.os }} - name: Install Rust Prereqs @@ -32,7 +33,7 @@ jobs: path: | sccache src/agent/target - key: agent-${{ runner.os }}-${{ hashFiles('src/agent/Cargo.lock') }}-2021-06-18-01 + key: agent-${{ runner.os }}-${{ hashFiles('src/agent/Cargo.lock') }}-${{ env.ACTIONS_CACHE_KEY_DATE }} restore-keys: | agent-${{ runner.os }} - name: Linux Prereqs @@ -173,7 +174,7 @@ jobs: ~/.cargo/registry ~/.cargo/git ~/.cargo/bin - key: rust-${{ runner.os }}-2020-09 + key: rust-${{ runner.os }}-2020-06-25-01 restore-keys: | rust-${{ runner.os }} - name: Install Rust Prereqs @@ -186,7 +187,7 @@ jobs: path: | sccache src/proxy-manager/target - key: proxy-${{ runner.os }}-${{ hashFiles('src/proxy-manager/Cargo.lock') }} + key: proxy-${{ runner.os }}-${{ hashFiles('src/proxy-manager/Cargo.lock') }}-${{ env.ACTIONS_CACHE_KEY_DATE }} restore-keys: | proxy-${{ runner.os }} - run: src/ci/proxy.sh