Skip to content

Commit

Permalink
Use GitHub action to install OpenTofu
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-galileo committed May 14, 2024
1 parent 12c97ed commit 0a3e2b2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install OpenTofu
run: |
curl -LO https://github.com/opentofu/opentofu/releases/download/v1.6.0-beta3/opentofu_1.6.0-beta3_linux_amd64.zip
unzip opentofu_1.6.0-beta3_linux_amd64.zip
sudo mv opentofu /usr/local/bin/tofu
- name: Setup OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: 1.6.0-beta3

- name: Verify OpenTofu Installation
run: tofu version
Expand Down

0 comments on commit 0a3e2b2

Please sign in to comment.