mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[Windows|Ubuntu] Remove obsolete workarounds (#7431)
This commit is contained in:
committed by
GitHub
parent
0f23104156
commit
5657dec7af
@@ -182,10 +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 "packer --version").Output
|
||||
$packerVersion = [regex]::matches($result, "(\d+.){2}\d+").Value
|
||||
return $packerVersion
|
||||
return "Packer $(packer --version)"
|
||||
}
|
||||
|
||||
function Get-PhantomJSVersion {
|
||||
|
||||
Reference in New Issue
Block a user