mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Ubuntu] fix VersionPattern for Clang v15 (#8575)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
@@ -30,7 +30,7 @@ function Get-ClangToolVersions {
|
|||||||
[Parameter(Mandatory = $true)]
|
[Parameter(Mandatory = $true)]
|
||||||
[string] $ToolName,
|
[string] $ToolName,
|
||||||
[string] $VersionLineMatcher = "${ToolName} version",
|
[string] $VersionLineMatcher = "${ToolName} version",
|
||||||
[string] $VersionPattern = "\d+\.\d+\.\d+)-"
|
[string] $VersionPattern = "\d+\.\d+\.\d+)"
|
||||||
)
|
)
|
||||||
|
|
||||||
$result = Get-CommandResult "apt list --installed" -Multiline
|
$result = Get-CommandResult "apt list --installed" -Multiline
|
||||||
|
|||||||
Reference in New Issue
Block a user