-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
34 lines (30 loc) · 765 Bytes
/
ci-build-index.yml
File metadata and controls
34 lines (30 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI - Build Index
permissions:
contents: read
on:
workflow_call:
jobs:
build:
name: Build Test Index
uses: ./.github/workflows/bazel.yml
with:
name: Build Test Index
os: ubuntu
run: ./go bazel:build_test_index bazel-test-file-index
artifact-name: bazel-test-file-index
artifact-path: bazel-test-file-index
cache:
name: Cache Index
needs: build
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Download index
uses: actions/download-artifact@v4
with:
name: bazel-test-file-index
- name: Cache index
uses: actions/cache/save@v4
with:
path: bazel-test-file-index
key: bazel-test-file-index-${{ github.run_id }}