Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github ci: attempt to use cache@v2 #2530

Merged
merged 1 commit into from
Jun 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ jobs:
- uses: actions/checkout@v2

- id: cache
# We use an unreleased version of the cache action that adds support for
# multiple paths to cache. This can be changed to a normal version
# number (likely v2) once it is released. See
# https://github.com/actions/cache/pull/212
uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
uses: actions/cache@v2
with:
path: |
./regression/install
Expand Down Expand Up @@ -76,9 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v2

# TODO: Use v2 once it is released. See the first occurrance of
# actions/cache in this file for more details.
- uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
- uses: actions/cache@v2
with:
path: ./emulator/verilator
key: verilator-${{ hashFiles('./verilator.hash') }}-v1
Expand All @@ -103,9 +97,7 @@ jobs:
- uses: actions/checkout@v2

- name: Use SBT Cache
# TODO: Use v2 once it is released. See the first occurrance of
# actions/cache in this file for more details.
uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
uses: actions/cache@v2
with:
path: |
~/.cache/coursier
Expand All @@ -128,27 +120,21 @@ jobs:
- uses: actions/checkout@v2

- name: Use riscv-tools Cache
# TODO: Use v2 once it is released. See the first occurrance of
# actions/cache in this file for more details.
uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
uses: actions/cache@v2
with:
path: |
./regression/install
./regression/stamps/rocket-tools_checkout.stamp
key: riscv-tools-${{ hashFiles('./riscv-tools.hash') }}-v1

- name: Use Verilator Cache
# TODO: Use v2 once it is released. See the first occurrance of
# actions/cache in this file for more details.
uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
uses: actions/cache@v2
with:
path: ./emulator/verilator
key: verilator-${{ hashFiles('./verilator.hash') }}-v1

- name: Use SBT Cache
# TODO: Use v2 once it is released. See the first occurrance of
# actions/cache in this file for more details.
uses: actions/cache@9ab95382c899bf0953a0c6c1374373fc40456ffe
uses: actions/cache@v2
with:
path: |
~/.cache/coursier
Expand Down