Skip to content

Commit

Permalink
chore: add bazelisk and build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lacolaco committed Jul 13, 2024
1 parent a99e93b commit ec71ce9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/adev-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ jobs:
with:
node-version-file: '.node-version'
cache: yarn
- uses: actions/cache@v4
- uses: bazelbuild/setup-bazelisk@v3
- name: Use Bazel build cache
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: bazel
- name: Use Bazel repo cache
uses: actions/cache@v4
with:
path: ${{ env.BAZEL_REPO_CACHE_PATH }}
key: bazel-repo-cache-${{ runner.os }}-${{ hashFiles('origin/WORKSPACE') }}
Expand Down

0 comments on commit ec71ce9

Please sign in to comment.