Skip to content

Commit fab898e

Browse files
authored
Hopefully workaround dependabot failure in handling this action (#1280)
1 parent 29206b5 commit fab898e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/actions/cache-downloads/action.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ runs:
2929
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3030
with:
3131
path: 'downloads/**'
32-
key: >-
33-
cache-downloads-v${{ inputs.cache-version }}-${{ inputs.cache-name }}-
34-
mq${{ steps.activemq_peek.outputs.activemq_version }}-
35-
tc${{ steps.tomcat_peek.outputs.tomcat_version }}-
36-
${{ hashFiles('.github/actions/cache-downloads/prefetch-artifacts.yml') }}
32+
key: |
33+
${{
34+
format(
35+
'cache-downloads-v{0}-{1}-mq{2}-tc{3}-{4}',
36+
inputs.cache-version,
37+
inputs.cache-name,
38+
steps.activemq_peek.outputs.activemq_version,
39+
steps.tomcat_peek.outputs.tomcat_version,
40+
hashFiles('.github/actions/cache-downloads/prefetch-artifacts.yml')
41+
)
42+
}}
3743
3844
- name: Prefetch artifacts
3945
shell: bash

0 commit comments

Comments
 (0)