fix: Correctly parse variables
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 9s
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 9s
This commit is contained in:
parent
fd171f42d0
commit
4bcf2a32e5
1 changed files with 3 additions and 3 deletions
|
|
@ -30,10 +30,10 @@ jobs:
|
|||
run: |
|
||||
set -eo pipefail
|
||||
echo "Downloading OpenTofu..."
|
||||
curl -L https://github.com/opentofu/opentofu/releases/download/v{{ env.TOFU_VERSION }}/tofu_{{ env.TOFU_VERSION }}_linux_amd64.tar.gz
|
||||
curl -L https://github.com/opentofu/opentofu/releases/download/v${{ env.TOFU_VERSION }}/tofu_${{ env.TOFU_VERSION }}_linux_amd64.tar.gz
|
||||
echo "Downloaded OpenTofu ✅"
|
||||
echo "Verifying checksum..."
|
||||
if echo "{{ env.TOFU_CHECKSUM }} tofu_{{ env.TOFU_VERSION }}_linux_amd64.tar.gz" | sha256sum --check --status; then
|
||||
if echo "${{ env.TOFU_CHECKSUM }} tofu_${{ env.TOFU_VERSION }}_linux_amd64.tar.gz" | sha256sum --check --status; then
|
||||
echo "Checksum OK ✅"
|
||||
else
|
||||
echo "Checksum mismatch! ❌"
|
||||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
- name: Install OpenTofu
|
||||
run: |
|
||||
echo "Untarring..."
|
||||
tar -xzf tofu_{{ env.TOFU_VERSION }}_linux_amd64.tar.gz
|
||||
tar -xzf tofu_${{ env.TOFU_VERSION }}_linux_amd64.tar.gz
|
||||
echo "Untarring ✅"
|
||||
echo "Installing OpenTofu Binary..."
|
||||
mv tofu /usr/local/bin/tofu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue