You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-22 13:34:10 +07:00
update unit and e2e tests
This commit is contained in:
@ -49,7 +49,7 @@ export class DotnetVersionResolver {
|
||||
|
||||
private isLatestPatchSyntax() {
|
||||
const majorTag = this.inputVersion.match(
|
||||
/^(?<majorTag>\d+)\.\d+\.\d{1}x{2}$/
|
||||
/^(?<majorTag>\d+)\.\d+\.\d{1}(x|X|\*){2}$/
|
||||
)?.groups?.majorTag;
|
||||
if (
|
||||
majorTag &&
|
||||
|
@ -112,7 +112,9 @@ function outputInstalledVersion(
|
||||
core.info(
|
||||
`No .NET version was installed. The 'dotnet-version' output will not be set.`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (installedVersions.includes(null)) {
|
||||
core.warning(
|
||||
`Failed to output the installed version of .NET. The 'dotnet-version' output will not be set.`
|
||||
|
Reference in New Issue
Block a user