mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 12:28:07 +00:00
no longer use action cache restore keys (#1188)
Co-authored-by: Brian Caswell <bmc@shmoo.com>
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -5,7 +5,7 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
SCCACHE_DIR: ${{github.workspace}}/sccache/
|
||||
SCCACHE_CACHE_SIZE: 1G
|
||||
ACTIONS_CACHE_KEY_DATE: 2021-08-06-01
|
||||
ACTIONS_CACHE_KEY_DATE: 2021-08-26-01
|
||||
|
||||
jobs:
|
||||
agent:
|
||||
@ -21,8 +21,6 @@ jobs:
|
||||
~/.cargo/git
|
||||
~/.cargo/bin
|
||||
key: rust-${{ runner.os }}-${{ env.ACTIONS_CACHE_KEY_DATE }}
|
||||
restore-keys: |
|
||||
rust-${{ runner.os }}
|
||||
- name: Install Rust Prereqs
|
||||
if: steps.cache-rust-prereqs.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
@ -34,8 +32,6 @@ jobs:
|
||||
sccache
|
||||
src/agent/target
|
||||
key: agent-${{ runner.os }}-${{ hashFiles('src/agent/Cargo.lock') }}-${{ env.ACTIONS_CACHE_KEY_DATE }}
|
||||
restore-keys: |
|
||||
agent-${{ runner.os }}
|
||||
- name: Linux Prereqs
|
||||
run: |
|
||||
sudo apt-get -y update
|
||||
@ -175,8 +171,6 @@ jobs:
|
||||
~/.cargo/git
|
||||
~/.cargo/bin
|
||||
key: rust-${{ runner.os }}-${{ env.ACTIONS_CACHE_KEY_DATE }}
|
||||
restore-keys: |
|
||||
rust-${{ runner.os }}
|
||||
- name: Install Rust Prereqs
|
||||
if: steps.cache-rust-prereqs.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
@ -188,8 +182,6 @@ jobs:
|
||||
sccache
|
||||
src/proxy-manager/target
|
||||
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
|
||||
- uses: actions/upload-artifact@v2.2.2
|
||||
with:
|
||||
|
Reference in New Issue
Block a user