feat: added versions resolution logic to use user's input.

Signed-off-by: Dmitry Kisler <admin@dkisler.com>
This commit is contained in:
Dmitry Kisler committed 2023-10-10 11:48:18 +02:00
1 parent c68fac3149
commit 45ec8bfee0
4 files changed
+7 -5

No files matched your search

-1
View File
@@ -137,7 +137,6 @@ async function run () {
const release = await releases.getRelease(version);
const platform = mapOS(osPlatform);
const arch = mapArch(osArch);
core.debug(`Getting build for OpenTofu version ${release.version}: ${platform} ${arch}`);
const build = release.getBuild(platform, arch);
if (!build) {
throw new Error(`OpenTofu version ${version} not available for ${platform} and ${arch}`);