ci: add bazel disk caches to workflows

This commit is contained in:
41666 2020-10-16 04:23:30 -04:00
parent 2f8fdf3b82
commit 4a558bb532
2 changed files with 7 additions and 3 deletions

View file

@ -12,7 +12,9 @@ jobs:
- name: Mount bazel cache
uses: actions/cache@v2.1.1
with:
path: '/home/runner/.cache/bazel'
path: |
/home/runner/.cache/bazel
/home/runner/.cache/bazel-disk-cache
key: bazel
- name: Install bazelisk

View file

@ -19,8 +19,10 @@ jobs:
- name: Mount bazel cache
uses: actions/cache@v2.1.1
with:
path: '/home/runner/.cache/bazel'
key: bazel_dev_container
path: |
/home/runner/.cache/bazel
/home/runner/.cache/bazel-disk-cache
key: bazel
- name: Install bazelisk
run: |