mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-08 05:26:56 +00:00
Added version confirmation output and different check for version
This commit is contained in:
parent
1d633105ef
commit
36eb99c1d1
1 changed files with 5 additions and 2 deletions
7
.github/workflows/integration-tests.yml
vendored
7
.github/workflows/integration-tests.yml
vendored
|
|
@ -30,7 +30,10 @@ jobs:
|
||||||
version: 'v3.8.0'
|
version: 'v3.8.0'
|
||||||
- name: Validate 3.8.0
|
- name: Validate 3.8.0
|
||||||
run: |
|
run: |
|
||||||
if [[ $(helm version) != 'v3.8.0' ]]; then
|
if [[ $(helm version) != *"v3.8.0"* ]]; then
|
||||||
echo "HELM VERSION INCORRECT: LOOKING FOR $(HELM_3_8_0) GOT $(helm version)"
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
|
||||||
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
|
||||||
fi
|
fi
|
||||||
Loading…
Reference in a new issue