File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,24 @@ jobs:
22
22
name : Render Datasheets
23
23
runs-on : ubuntu-latest
24
24
steps :
25
+ - uses : actions/cache@v4
26
+ id : cache
27
+ with :
28
+ path : static/resources/datasheets
29
+ key : ${{ runner.os }}-datasheets-${{ hashFiles('**/*datasheet.md') }}
30
+
25
31
- uses : actions/checkout@v4
32
+ if : steps.cache.outputs.cache-hit != 'true'
26
33
with :
27
34
fetch-depth : 1
28
35
29
36
- uses : actions/setup-node@v4
37
+ if : steps.cache.outputs.cache-hit != 'true'
30
38
with :
31
39
node-version : 18
32
40
cache : " npm"
33
41
cache-dependency-path : " package-lock.json"
34
42
35
- - uses : actions/cache@v4
36
- id : cache
37
- with :
38
- path : static/resources/datasheets
39
- key : ${{ runner.os }}-datasheets-${{ hashFiles('**/*datasheet.md') }}
40
-
41
43
- name : Render Datasheets
42
44
if : steps.cache.outputs.cache-hit != 'true'
43
45
run : |
You can’t perform that action at this time.
0 commit comments