File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ inputs:
216216 use the number of all available CPU cores.
217217 required : false
218218 default : 0
219- cache :
219+ cache-enable :
220220 description : enable caching of cpp-linter dependencies
221221 required : false
222222 default : true
@@ -256,7 +256,7 @@ runs:
256256 version : ' 0.106.1'
257257
258258 - name : Compute cache key
259- if : inputs.cache == 'true' || inputs.cache == true
259+ if : inputs.cache-enable == 'true' || inputs.cache-enable == true
260260 id : compute-cache-key
261261 shell : nu {0}
262262 run : |-
@@ -276,7 +276,7 @@ runs:
276276 $'key=($key)\n' | save --append $env.GITHUB_OUTPUT
277277
278278 - name : Enable cache
279- if : inputs.cache == 'true' || inputs.cache == true
279+ if : inputs.cache-enable == 'true' || inputs.cache-enable == true
280280 uses : actions/cache@v4
281281 with :
282282 path : ${{ runner.temp }}/cpp-linter-action-cache
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ inputs:
4949 required-permission : ' pull-requests: write #pull-request-reviews'
5050 jobs :
5151 minimum-version : ' 2.11.0'
52+ cache-enable :
53+ minimum-version : ' 2.16.0'
5254outputs :
5355 checks-failed :
5456 minimum-version : ' 1.2.0'
You can’t perform that action at this time.
0 commit comments