Skip to content

Commit e56250e

Browse files
ci: cache jsonnet binary for doc build
1 parent bfc13a3 commit e56250e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/doc_update.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
with:
3232
ruby-version: "4.0.1"
3333
bundler-cache: true
34+
- name: Cache jsonnet binary
35+
id: cache-jsonnet-binary
36+
uses: actions/cache@v5
37+
with:
38+
key: jsonnet-bin-${{ hashFiles('include/*', 'core/*', 'cmd/*', 'cpp/*', 'third_party/**/*', 'stdlib/std.jsonnet') }}
39+
path: ./jsonnet
3440
- name: Build jsonnet binary
3541
if: steps.cache-jsonnet-binary.outputs.cache-hit != 'true'
3642
run: |

0 commit comments

Comments
 (0)