Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
bump github actions cache key IDs (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Jun 25, 2021
1 parent 6a0c8e6 commit bb74191
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bb74191

Please sign in to comment.