Skip to content

Commit

Permalink
fix: correct output variable references in Terraform Validate action
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Mar 27, 2025
1 parent 4b1ffac commit db6ffa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ runs:
terraform validate
if [[ $? -ne 0 ]]; then
echo "Terraform validation failed"
echo "is_valid=false" >> $GITHUB_OUT
echo "is_valid=false" >> $GITHUB_OUTPUT
fi
echo "Terraform validation passed"
echo "is_valid=true" >> $GITHUB_OUT
echo "is_valid=true" >> $GITHUB_OUTPUT
- name: Terraform Test
id: test
Expand All @@ -57,10 +57,10 @@ runs:
terraform test
if [[ $? -ne 0 ]]; then
echo "Terraform tests failed"
echo "tests_passed=false" >> $GITHUB_OUT
echo "tests_passed=false" >> $GITHUB_OUTPUT
fi
echo "Terraform tests passed"
echo "tests_passed=true" >> $GITHUB_OUT
echo "tests_passed=true" >> $GITHUB_OUTPUT
- name: Set Outputs
id: set_outputs
Expand Down

0 comments on commit db6ffa9

Please sign in to comment.