1
0
mirror of https://github.com/actions/setup-dotnet.git synced 2026-02-18 15:31:20 +01:00

Update regular expresiion for isLatestPatchSyntax()

This commit is contained in:
IvanZosimov
2023-05-18 11:46:40 +02:00
parent 898aa0ce4d
commit 83a1653fa3
3 changed files with 4 additions and 21 deletions

View File

@@ -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 &&