Skip to content

Commit

Permalink
ci: Fix step conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Jan 31, 2024
1 parent 53333be commit 8144445
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:

steps:
- uses: hashicorp/setup-terraform@v3
if: ${{ matrix.tool == 'terraform' }}
with:
terraform_version: ${{ matrix.version}}
if: ${{matrix.tool}} == 'terraform'
terraform_version: ${{matrix.version}}
- uses: opentofu/setup-opentofu@v1
if: ${{ matrix.tool == 'tofu' }}
with:
tofu_version: ${{ matrix.version}}
if: ${{matrix.tool}} == 'tofu'
tofu_version: ${{matrix.version}}
- name: Check out code
uses: actions/checkout@v3
- name: Pull LocalStack Docker image
Expand Down

0 comments on commit 8144445

Please sign in to comment.