diff --git a/.github/workflows/baremetal-regression-suite.yml b/.github/workflows/baremetal-regression-suite.yml index 57c5c74bd..6e292b4fd 100644 --- a/.github/workflows/baremetal-regression-suite.yml +++ b/.github/workflows/baremetal-regression-suite.yml @@ -117,7 +117,7 @@ jobs: print('Latest version is a new minor. Setting previous version to latest version') previousVersion = latestVersion else: - previousVersion = [latestVersion[0], latestVersion[1], latestVersion[2] - 2] + previousVersion = [latestVersion[0], latestVersion[1], str(int(latestVersion[2]) - 2)] previousVersionStr = ".".join(map(str, previousVersion)) previousVersionURL = 'https://cdn.hpccsystems.com/releases/CE-Candidate-' + previousVersionStr \