File tree Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,10 @@ jobs:
14
14
env :
15
15
BAZEL : bazelisk-linux-amd64
16
16
steps :
17
- - uses : actions/checkout@v4
18
- with :
19
- submodules : recursive
20
-
21
- - name : Mount bazel cache
22
- uses : actions/cache@v4
23
- with :
24
- # See https://docs.bazel.build/versions/master/output_directories.html
25
- path : " ~/.cache/bazel"
26
- # Create a new cache entry whenever Bazel files change.
27
- # See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
28
- key : bazel-${{ runner.os }}-build-${{ hashFiles('**/*.bzl', '**/*.bazel') }}
29
- restore-keys : |
30
- bazel-${{ runner.os }}-build-
31
- - name : Install bazelisk
32
- run : |
33
- curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/$BAZEL"
34
- chmod +x $BAZEL
35
- sudo mv $BAZEL /usr/local/bin/bazel
36
-
37
- - name : Build
38
- run : bazel build //...
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ submodules : recursive
20
+ - name : Setup Bazel
21
+ uses : bazelbuild/setup-bazelisk@v2
22
+ - name : Build
23
+ run : bazel build //...
You can’t perform that action at this time.
0 commit comments