Skip to content

Commit 54eef5e

Browse files
Set output var
1 parent 0452c83 commit 54eef5e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,9 @@ jobs:
3232
INPUT_PRE_EXEC_0: |
3333
sudo apt update -yqq && sudo apt install python3 -yqq
3434
INPUT_POST_EXEC_0: |
35-
set -x
36-
env | sort | grep GITHUB
37-
pwd
38-
ls -al /github/workspace/
3935
tfplan_location=$(find . -name "sandbox.tfplan" -exec realpath {} \;)
4036
tfplan_json=$(terragrunt show -json $tfplan_location)
41-
echo "-------- PLAN --------"
42-
echo $tfplan_json
43-
echo "------ END PLAN ------"
37+
echo "TERRAFORM_PLAN=$tfplan_json" >> "$GITHUB_OUTPUT"
4438
with:
4539
tf_version: '1.5.5'
4640
tg_version: '0.54.11'

0 commit comments

Comments
 (0)