From d44e242de395e614dd07a585070bbd5222a65fab Mon Sep 17 00:00:00 2001 From: pgijsbertsen <117165507+pgijsbertsen@users.noreply.github.com> Date: Sat, 29 Nov 2025 12:25:24 +0100 Subject: [PATCH] fix: Use printf --- .forgejo/workflows/tofu-plan-k8s-wheatley.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml index 93cefdb..bbaf631 100644 --- a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml +++ b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml @@ -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 }} echo "Downloaded OpenTofu ✅" echo "Verifying checksum..." - if echo ${{ env.TOFU_CHECKSUM }} ${{ env.TOFU_ARCHIVE }} | sha256sum --check --status; then - echo "Checksum OK ✅" - else - echo "Checksum mismatch! ❌" - exit 1 + printf "%s %s" "${{ env.TOFU_CHECKSUM }}" "${{ env.TOFU_ARCHIVE }}" | sha256sum --check --status; then working-directory: /tmp