File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
- name : Expand list of manifests to remove
39
39
run : |
40
40
echo '## Manifests input for removal' >> "$GITHUB_STEP_SUMMARY"
41
- set -f
42
- echo ${{inputs.manifests}} | xargs -n 1 echo - >> "$GITHUB_STEP_SUMMARY"
41
+ set -f # no expansion of globs to file names, we want to pass * straight on for S3 wildcard matching (but still expand curly braces)
42
+ printf -- '- `%s`\n' ${{inputs.manifests}} >> "$GITHUB_STEP_SUMMARY"
43
43
- name : Restore cached Docker image
44
44
id : restore-docker
45
45
uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 48
48
echo '## Stacks to sync' >> "$GITHUB_STEP_SUMMARY"
49
49
set -o pipefail
50
50
stacks=(${{ inputs.stack-heroku-20 == true && 'heroku-20' || ''}} ${{ inputs.stack-heroku-22 == true && 'heroku-22' || ''}} ${{ inputs.stack-heroku-24-amd64 == true && 'heroku-24-amd64' || ''}} ${{ inputs.stack-heroku-24-arm64 == true && 'heroku-24-arm64' || ''}})
51
- printf " %s\n" "${stacks[@]}" | xargs -n1 echo - >> "$GITHUB_STEP_SUMMARY"
51
+ printf -- "- %s\n" "${stacks[@]}" >> "$GITHUB_STEP_SUMMARY"
52
52
echo -n "matrix=" >> "$GITHUB_OUTPUT"
53
53
printf "%s\n" "${stacks[@]}" | jq -jcRn '[inputs|select(length>0)]' >> "$GITHUB_OUTPUT"
54
54
docker-build :
You can’t perform that action at this time.
0 commit comments