Skip to content

Commit

Permalink
Support multi-line output values for Terraform plan PR comment (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab authored Jun 19, 2024
1 parent a5baea5 commit 056fc5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/_terraform-plan-pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: |
output=$(DEPLOY_ENV=${DEPLOY_ENV} pnpm cdktf diff --no-color --app "npx ts-node src/index.ts")
echo "${output}"
echo "::set-output name=stdout::$output"
echo "stdout<<nEOFn" >> $GITHUB_OUTPUT
echo "${output}" >> $GITHUB_OUTPUT
echo "nEOFn" >> $GITHUB_OUTPUT
working-directory: infra

- name: Find Comment
Expand Down

0 comments on commit 056fc5f

Please sign in to comment.