Skip to content

Commit

Permalink
Mount caches
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Feb 6, 2024
1 parent 7c1da1a commit 3b1f33d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
with:
distribution: "zulu"
java-version: "11"
- name: Mount bazel caches
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel') }}
restore-keys: bazel-cache-
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Configure Bazel"
Expand All @@ -50,6 +57,13 @@ jobs:
with:
distribution: "zulu"
java-version: "11"
- name: Mount bazel caches
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel') }}
restore-keys: bazel-cache-
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Configure Bazel"
Expand All @@ -69,6 +83,13 @@ jobs:
with:
distribution: "zulu"
java-version: "11"
- name: Mount bazel caches
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel') }}
restore-keys: bazel-cache-
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Configure Bazel"
Expand Down

0 comments on commit 3b1f33d

Please sign in to comment.