diff --git a/.github/workflows/baremetal-regression-suite.yml b/.github/workflows/baremetal-regression-suite.yml index e152e2edd..16b15d00d 100644 --- a/.github/workflows/baremetal-regression-suite.yml +++ b/.github/workflows/baremetal-regression-suite.yml @@ -136,7 +136,7 @@ jobs: run: | if wget -q --spider ${{ steps.extract_version.outputs.latestVersionURL }}; then wget -q ${{ steps.extract_version.outputs.latestVersionURL }} - else if wget -q --spider ${{ steps.extract_version.outputs.previousVersionURL }}; then + elif wget -q --spider ${{ steps.extract_version.outputs.previousVersionURL }}; then wget -q ${{ steps.extract_version.outputs.previousVersionURL }} else echo "Unable to find HPCC version to install"