From 65535a53fe2bc3b0cfb385aefbffe31ef40de118 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Wed, 24 Jan 2024 22:15:04 +0100 Subject: [PATCH] Added test-workflows --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 34f5c83..9ce8f5e 100644 --- a/action.yml +++ b/action.yml @@ -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 "" 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