mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[Windows] Fix composer output version (#5313)
This commit is contained in:
committed by
GitHub
parent
0193114231
commit
137c29497d
@@ -158,9 +158,7 @@ function Get-CondaVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-ComposerVersion {
|
function Get-ComposerVersion {
|
||||||
($(composer --version)) -match "Composer version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
composer --version | Take-Part -Part 0,1
|
||||||
$composerVersion = $Matches.Version
|
|
||||||
return "Composer $composerVersion"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Get-NugetVersion {
|
function Get-NugetVersion {
|
||||||
|
|||||||
Reference in New Issue
Block a user