fix: Use printf
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 5s
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 5s
This commit is contained in:
parent
9ae4963476
commit
d44e242de3
1 changed files with 1 additions and 5 deletions
|
|
@ -34,11 +34,7 @@ jobs:
|
||||||
curl -L https://github.com/opentofu/opentofu/releases/download/v${{ env.TOFU_VERSION }}/${{ env.TOFU_ARCHIVE }} -o ${{ env.TOFU_ARCHIVE }}
|
curl -L https://github.com/opentofu/opentofu/releases/download/v${{ env.TOFU_VERSION }}/${{ env.TOFU_ARCHIVE }} -o ${{ env.TOFU_ARCHIVE }}
|
||||||
echo "Downloaded OpenTofu ✅"
|
echo "Downloaded OpenTofu ✅"
|
||||||
echo "Verifying checksum..."
|
echo "Verifying checksum..."
|
||||||
if echo ${{ env.TOFU_CHECKSUM }} ${{ env.TOFU_ARCHIVE }} | sha256sum --check --status; then
|
printf "%s %s" "${{ env.TOFU_CHECKSUM }}" "${{ env.TOFU_ARCHIVE }}" | sha256sum --check --status; then
|
||||||
echo "Checksum OK ✅"
|
|
||||||
else
|
|
||||||
echo "Checksum mismatch! ❌"
|
|
||||||
exit 1
|
|
||||||
working-directory: /tmp
|
working-directory: /tmp
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue