We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ab759 commit 0e4f36bCopy full SHA for 0e4f36b
.github/workflows/bazel_build.yml
@@ -13,9 +13,21 @@ jobs:
13
runs-on: ubuntu-latest
14
15
steps:
16
- - name: Checkout code
17
- uses: actions/checkout@v3
+ - name: Cache bazel
+ uses: actions/cache@v2
18
+ env:
19
+ cache-name: bazel-cache
20
+ with:
21
+ path: |
22
+ ~/.cache/bazelisk
23
+ ~/.cache/bazel
24
+ key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-${{ env.cache-name }}-development
27
- - name: Run Bazel build
- run: |
- bazel build //...
28
+ - name: Checkout code
29
+ uses: actions/checkout@v3
30
+
31
+ - name: Run Bazel build
32
+ run: |
33
+ bazel build //...
0 commit comments