mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-12-11 12:37:48 +00:00
Update regular expresiion for isLatestPatchSyntax()
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|X|\*){2}$/
|
||||
/^(?<majorTag>\d+)\.\d+\.\d{1}x{2}$/
|
||||
)?.groups?.majorTag;
|
||||
if (
|
||||
majorTag &&
|
||||
|
||||
Reference in New Issue
Block a user