Skip to content

Commit

Permalink
simplification ?
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Jul 11, 2024
1 parent 690d04c commit 65807cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ jobs:
run: |
# Use jq to extract the list and convert it to a multiline string
# ${{matrix.plugin.dependencies}}
multiline_string=$(echo -e "${{ join(matrix.plugin.dependencies, '\n') }}")
# multiline_string=$(echo -e "${{ join(matrix.plugin.dependencies, '\n') }}")
# Print the multiline string
echo "multiline_string:"
echo "$multiline_string"
echo -e "$multiline_string"
# echo "multiline_string:"
# echo "$multiline_string"
# echo -e "$multiline_string"
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
{
echo "multiline<<EOF"
echo -e "$multiline_string"
echo -e "${{ join(matrix.plugin.dependencies, '\n') }}"
echo EOF
} >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 65807cc

Please sign in to comment.