Skip to content

Commit

Permalink
Another try with heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Jun 11, 2024
1 parent b2077bb commit c8dc682
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/posit-cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
- name: "Strip whitespace from comment body"
id: strip_whitespace
run: |
COMMENT_BODY=<< "a6872054e1c874ab096a30191680522d" | sed '/^[[:space:]]*$/d; s/^[[:space:]]*//; s/[[:space:]]*$//'
echo "body<<a6872054e1c874ab096a30191680522d" >> $GITHUB_OUTPUT
cat << "a6872054e1c874ab096a30191680522d" | sed '/^[[:space:]]*$/d; s/^[[:space:]]*//; s/[[:space:]]*$//' >> $GITHUB_OUTPUT
${{ github.event.comment.body }}
a6872054e1c874ab096a30191680522d
echo "body<<a6872054e1c874ab096a30191680522d" >> $GITHUB_OUTPUT
echo "$COMMENT_BODY" >> $GITHUB_OUTPUT
echo "a6872054e1c874ab096a30191680522d" >> $GITHUB_OUTPUT
- name: "Debug output"
run: |
Expand Down

0 comments on commit c8dc682

Please sign in to comment.