From 666312d0662a4972f801ec9bc7ec726f5d837ad6 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Thu, 25 Jan 2024 17:57:06 +0000 Subject: [PATCH] Fix if Signed-off-by: Jacob Woffenden --- .github/actions/setup-container-structure-test/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-container-structure-test/action.yml b/.github/actions/setup-container-structure-test/action.yml index c8cc2a7..e996873 100644 --- a/.github/actions/setup-container-structure-test/action.yml +++ b/.github/actions/setup-container-structure-test/action.yml @@ -23,7 +23,7 @@ runs: exit 1 fi - if [[ "${{ inputs.version }}" == "latest"]]; then + if [[ "${{ inputs.version }}" == "latest" ]]; then version="$(curl --silent https://api.github.com/repos/GoogleContainerTools/container-structure-test/releases/latest | jq -r '.tag_name')" else version="${{ inputs.version }}"