We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b2925b commit 48ad7e8Copy full SHA for 48ad7e8
.github/workflows/build.yml
@@ -23,7 +23,7 @@ on:
23
version:
24
required: true
25
type: string
26
- cache:
+ use-cached:
27
required: false
28
type: boolean
29
default: false
@@ -42,7 +42,7 @@ on:
42
43
44
45
46
47
48
@@ -133,8 +133,8 @@ jobs:
133
134
echo "ARTIFACT_DIR=kernel-artifacts-${SUFFIX}" >> $GITHUB_OUTPUT
135
136
- # TODO: Control caching with an input argument
137
- name: Cache kernel image
+ if: ${{ inputs.use-cached == true }}
138
id: cache-kernel
139
uses: actions/cache@v4
140
with:
0 commit comments