File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 24
24
version :
25
25
required : true
26
26
type : string
27
+ use-cached :
28
+ required : false
29
+ type : boolean
30
+ default : false
27
31
workflow_call :
28
32
inputs :
29
33
host-os :
39
43
version :
40
44
required : true
41
45
type : string
46
+ use-cached :
47
+ required : false
48
+ type : boolean
49
+ default : false
42
50
43
51
jobs :
44
52
build :
48
56
ack : ${{ inputs.ack }}
49
57
arch : ${{ inputs.arch }}
50
58
version : ${{ inputs.version }}
59
+ use-cached : ${{ inputs.use-cached }}
51
60
52
61
test :
53
62
uses : ./.github/workflows/test.yml
Original file line number Diff line number Diff line change 23
23
version :
24
24
required : true
25
25
type : string
26
- cache :
26
+ use-cached :
27
27
required : false
28
28
type : boolean
29
29
default : false
42
42
version :
43
43
required : true
44
44
type : string
45
- cache :
45
+ use-cached :
46
46
required : false
47
47
type : boolean
48
48
default : false
@@ -133,8 +133,8 @@ jobs:
133
133
134
134
echo "ARTIFACT_DIR=kernel-artifacts-${SUFFIX}" >> $GITHUB_OUTPUT
135
135
136
- # TODO: Control caching with an input argument
137
136
- name : Cache kernel image
137
+ if : ${{ inputs.use-cached == true }}
138
138
id : cache-kernel
139
139
uses : actions/cache@v4
140
140
with :
You can’t perform that action at this time.
0 commit comments