Skip to content

Commit

Permalink
Added test-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Jan 24, 2024
1 parent d333b06 commit 65535a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ runs:
apply -- terraform apply ${{ steps.vars.outputs.plan_file }} || EXIT_CODE=$?
TERRAFORM_OUTPUTS=$(terraform output --json | jq -Mr 'to_entries | map(["|", .key, "|", if .value.sensitive then "<sensitive>" else .value.value end, "|"] | join(" ")) | if length > 0 then ["| name | value |", "|----|----|"] + . else ["No outputs"] end | join("\n")')
echo "${TERRAFORM_OUTPUTS}"
sed -i "s/%TERRAFORM_OUTPUTS%/${TERRAFORM_OUTPUTS}/" ${{ github.workspace }}/atmos-apply-summary.md
cat "${{ github.workspace }}/atmos-apply-summary.md" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 65535a5

Please sign in to comment.