Skip to content

Commit

Permalink
Fix a reference to an undefined output in GitHub Actions (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Oct 14, 2024
1 parent 6439a64 commit fecba15
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:

workflow_dispatch:

env:
TERRAFORM_VERSION: "1.9.7"

jobs:
# ensure the code builds...
build:
Expand Down Expand Up @@ -159,7 +162,8 @@ jobs:

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.7"
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Run tests for ${{ matrix.demo-folder }}
run: |
Expand Down Expand Up @@ -268,7 +272,8 @@ jobs:

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.7"
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Run tests for ${{ matrix.demo-folder }}
run: |
Expand Down Expand Up @@ -309,7 +314,7 @@ jobs:
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ steps.config.outputs.terraform-version }}
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Lint examples/${{ matrix.demo-folder }}/components/terraform
Expand Down

0 comments on commit fecba15

Please sign in to comment.