Skip to content

Commit

Permalink
gh-actions/
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Oct 28, 2023
1 parent 6edb8fb commit bfb15ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gh-actions/using/steps/create-steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

mkdir -p .tmp.action
output=$(printf "%s\n" "${STEPS}" \
| sed 's/\([^\\]\)%{{ /\1${{ /g')
printf "using: composite\nsteps:\n%s\n" "${output}" > .tmp.action/action.yml
| sed 's/\([^\\]\)%{{ /\1${{ /g; s/^/ /')
printf "runs:\n using: composite\n steps:\n%s\n" "${output}" > .tmp.action/action.yml
cat .tmp.action/action.yml

0 comments on commit bfb15ae

Please sign in to comment.