rigth major version
This commit is contained in:
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
@@ -105077,13 +105077,13 @@ function run() {
|
|||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.debug(`${error.toString()}`);
|
core.debug(`${error.toString()}`);
|
||||||
try {
|
|
||||||
const majorMinorVersion = getHigherVersion(stringVersion);
|
const majorMinorVersion = getHigherVersion(stringVersion);
|
||||||
|
try {
|
||||||
yield installVersion(majorMinorVersion);
|
yield installVersion(majorMinorVersion);
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.debug(`${error.toString()}`);
|
core.debug(`${error.toString()}`);
|
||||||
const majorVersion = getHigherVersion(stringVersion);
|
const majorVersion = getHigherVersion(majorMinorVersion);
|
||||||
yield installVersion(majorVersion);
|
yield installVersion(majorVersion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,12 +43,12 @@ async function run() {
|
|||||||
await installVersion(stringVersion)
|
await installVersion(stringVersion)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.debug(`${error.toString()}`)
|
core.debug(`${error.toString()}`)
|
||||||
try {
|
|
||||||
const majorMinorVersion = getHigherVersion(stringVersion)
|
const majorMinorVersion = getHigherVersion(stringVersion)
|
||||||
|
try {
|
||||||
await installVersion(majorMinorVersion)
|
await installVersion(majorMinorVersion)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.debug(`${error.toString()}`)
|
core.debug(`${error.toString()}`)
|
||||||
const majorVersion = getHigherVersion(stringVersion)
|
const majorVersion = getHigherVersion(majorMinorVersion)
|
||||||
await installVersion(majorVersion)
|
await installVersion(majorVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user