File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
.github/actions/cache-downloads Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,28 @@ inputs:
1212runs :
1313 using : " composite"
1414 steps :
15+ - name : Peek activemq_version
16+ id : activemq_peek
17+ run : |
18+ echo "activemq_version=$(yq '.activemq_version' roles/activemq/defaults/main.yml)" >> $GITHUB_OUTPUT
19+ shell : bash
20+
21+ - name : Peek tomcat_version
22+ id : tomcat_peek
23+ run : |
24+ echo "tomcat_version=$(yq '.tomcat_version' roles/tomcat/defaults/main.yml)" >> $GITHUB_OUTPUT
25+ shell : bash
26+
1527 - name : Restore downloaded artifacts
1628 id : artifacts-cache
1729 uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
1830 with :
1931 path : ' downloads/**'
20- key : cache-downloads-v${{ inputs.cache-version }}-${{ inputs.cache-name }}-${{ hashFiles('group_vars/all.yml') }}-${{ hashFiles('.github/actions/cache-downloads/prefetch-artifacts.yml') }}
32+ key : >-
33+ cache-downloads-v${{ inputs.cache-version }}-${{ inputs.cache-name }}-
34+ mq${{ steps.activemq_peek.activemq_version }}-
35+ tc${{ steps.tomcat_peek.tomcat_version }}-
36+ ${{ hashFiles('.github/actions/cache-downloads/prefetch-artifacts.yml') }}
2137
2238 - name : Prefetch artifacts
2339 shell : bash
You can’t perform that action at this time.
0 commit comments