mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
[Ubuntu] Add verbosity during software report generation (#4811)
* Add verbosity during software report generation * Fix Get-CpanVersion * set default ValidateExitCode value to $true * update java test * use lower-case for parameters
This commit is contained in:
committed by
GitHub
parent
bb56fb7ef4
commit
92eeb55189
@@ -182,7 +182,7 @@ function Get-NvmVersion {
|
||||
|
||||
function Get-PackerVersion {
|
||||
# Packer 1.7.1 has a bug and outputs version to stderr instead of stdout https://github.com/hashicorp/packer/issues/10855
|
||||
$result = (Get-CommandResult -Command "packer --version").Output
|
||||
$result = (Get-CommandResult "packer --version").Output
|
||||
$packerVersion = [regex]::matches($result, "(\d+.){2}\d+").Value
|
||||
return "Packer $packerVersion"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user