File tree Expand file tree Collapse file tree 1 file changed +7
-33
lines changed
Expand file tree Collapse file tree 1 file changed +7
-33
lines changed Original file line number Diff line number Diff line change 88 - uses : actions/checkout@v3
99 with :
1010 ref : ${{ github.event.pull_request.base.sha }}
11- - uses : bazelbuild/setup-bazelisk@v2
12- - name : Mount bazel cache
13- uses : actions/cache@v3
14- with :
15- path : " ~/.cache/bazel"
16- key : bazel
17- - name : Build
18- run : |
19- bazel build \
20- --config=ci \
21- --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \
22- //k8s/unwind:list
23- - name : Get output path
24- id : get-output-path
25- run : echo "PATH=$(bazel cquery --output=files //k8s/unwind:list 2> /dev/null)" >> "$GITHUB_OUTPUT"
11+ - uses : cue-lang/setup-cue@v1.0.0
12+ - run : cue export ./k8s/magiclove/list.cue > list.json
2613 - uses : actions/upload-artifact@v3
2714 with :
2815 name : base
29- path : " ${{ steps.get-output-path.outputs.PATH }} "
16+ path : list.json
3017 head :
3118 name : Head
3219 runs-on : ubuntu-latest
3320 steps :
3421 - uses : actions/checkout@v3
35- - uses : bazelbuild/setup-bazelisk@v2
36- - name : Mount bazel cache
37- uses : actions/cache@v3
38- with :
39- path : " ~/.cache/bazel"
40- key : bazel
41- - name : Build
42- run : |
43- bazel build \
44- --config=ci \
45- --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \
46- //k8s/unwind:list
47- - name : Get output path
48- id : get-output-path
49- run : echo "PATH=$(bazel cquery --output=files //k8s/unwind:list 2> /dev/null)" >> "$GITHUB_OUTPUT"
22+ - uses : cue-lang/setup-cue@v1.0.0
23+ - run : cue export ./k8s/magiclove/list.cue > list.json
5024 - uses : actions/upload-artifact@v3
5125 with :
52- name : head
53- path : " ${{ steps.get-output-path.outputs.PATH }} "
26+ name : base
27+ path : list.json
5428 compare :
5529 name : Compare
5630 needs : [base, head]
You can’t perform that action at this time.
0 commit comments