From 36eb99c1d16f820ed0613294be9dcfdd7c0fc1a8 Mon Sep 17 00:00:00 2001 From: Asa Gayle Date: Wed, 26 Jan 2022 12:24:31 -0500 Subject: [PATCH] Added version confirmation output and different check for version --- .github/workflows/integration-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 5de7056..7615983 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -30,7 +30,10 @@ jobs: version: 'v3.8.0' - name: Validate 3.8.0 run: | - if [[ $(helm version) != 'v3.8.0' ]]; then - echo "HELM VERSION INCORRECT: LOOKING FOR $(HELM_3_8_0) GOT $(helm version)" + if [[ $(helm version) != *"v3.8.0"* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" + echo "HELM VERSION OUTPUT: $(helm version)" exit 1 + else + echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" fi \ No newline at end of file