File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
.github/actions/gh-cache/cache Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -29,27 +29,23 @@ runs:
2929 path : ${{ inputs.key }}
3030 token : ${{ inputs.token }}
3131 fail_on_cache_miss : ${{ inputs.fail_on_cache_miss }}
32- - if : ${{ inputs.value }}
33- name : Debug
34- shell : bash
35- run : |
36- echo '${{ inputs.value }}'
37- echo "${{ inputs.value }}"
38- echo ${{ inputs.value }}
3932 - if : ${{ inputs.value }}
4033 name : Update cached value
4134 shell : bash
4235 run : |
4336 mkdir -p "$(dirname "${{ inputs.key }}")"
44- printf "%s" " ${{ inputs.value }}" > "${{ inputs.key }}"
37+ echo ' ${{ inputs.value }}' > "${{ inputs.key }}"
4538 - name : Save cached value
4639 uses : github/continuous-accessibility-scanner/.github/actions/gh-cache/save@smockle/cache-findings
4740 with :
4841 path : ${{ inputs.key }}
4942 token : ${{ inputs.token }}
5043 - name : Output cached value
5144 shell : bash
52- run : echo "value=$(cat ${{ inputs.key }})" >> $GITHUB_OUTPUT
45+ run : |
46+ echo "value<<EOF" >> $GITHUB_OUTPUT
47+ cat "${{ inputs.key }}" >> $GITHUB_OUTPUT
48+ echo "EOF" >> $GITHUB_OUTPUT
5349
5450branding :
5551 icon : " archive"
You can’t perform that action at this time.
0 commit comments