mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-04-07 07:49:53 +00:00
Update unit tests
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -290,9 +290,10 @@ class DotnetVersionResolver {
|
||||
this.resolvedArgument.value = yield this.getLatestByMajorTag(major);
|
||||
}
|
||||
else {
|
||||
// Resolve LTS version of .NET if "dotnet-version" is specified as *, x or X
|
||||
this.resolvedArgument.value = 'LTS';
|
||||
}
|
||||
this.resolvedArgument.qualityFlag = +major >= 6 ? true : false;
|
||||
this.resolvedArgument.qualityFlag = parseInt(major) >= 6 ? true : false;
|
||||
});
|
||||
}
|
||||
createDotNetVersion() {
|
||||
|
Reference in New Issue
Block a user