From b77481538415aca754145397cb86e1e225f45d7a Mon Sep 17 00:00:00 2001 From: Stephen Attard Date: Fri, 19 Jan 2024 14:39:47 +0100 Subject: [PATCH] Further testing --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6c2ee7..29ec4c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,10 +80,10 @@ jobs: run: | tfswitch 1.6.6 terraform --version - if [[ -n "$ver" ]]; then + echo "Output of terraform_version${{ steps.tfswitch-install.outputs.terraform_version }}" + if [[ -n "${{ steps.tfswitch-install.outputs.terraform_version }}" ]]; then echo "Output variable is set" echo "Terraform ${{ steps.tfswitch-install.outputs.terraform_version }} installed to $(which terraform) .." - ver=${{ steps.tfswitch-install.outputs.terraform_version }} else echo "Output variable is empty" exit 1