Skip to content

Commit

Permalink
use only bash and envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo committed Jan 10, 2025
1 parent f584443 commit 60986c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actions/terraform/plan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ runs:
PLAN_STDERR: ${{ steps.plan.outputs.stderr }}
run: |
plan=$(cat <<${{ env.DELIMITER }}1
${{ format('{0}{1}', env.PLAN_STDOUT, env.PLAN_STDERR) }}
${PLAN_STDOUT@Q}
${PLAN_STDERR@Q}
${{ env.DELIMITER }}1
)
plan=$(echo "${plan@Q}" | grep -v 'Refreshing state' | tail --bytes 200000)
Expand Down

0 comments on commit 60986c2

Please sign in to comment.