Skip to content

Commit

Permalink
another go
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo committed Jan 10, 2025
1 parent 81d927c commit 0770561
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actions/terraform/plan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,11 @@ runs:
- name: truncate terraform plan result
shell: bash
run: |
stdout="${{steps.plan.outputs.stdout}}"
stderr="${{steps.plan.outputs.stderr}}"
plan=$(cat <<${{ env.DELIMITER }}1
${{ format('{0}{1}', steps.plan.outputs.stdout, steps.plan.outputs.stderr) }}
${stdout@Q}
${stderr@Q}
${{ env.DELIMITER }}1
)
plan=$(echo "${plan@Q}" | grep -v 'Refreshing state' | tail --bytes 200000)
Expand Down

0 comments on commit 0770561

Please sign in to comment.