mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows|Ubuntu] Remove obsolete workarounds (#7431)
This commit is contained in:
committed by
GitHub
parent
0f23104156
commit
5657dec7af
@@ -142,10 +142,7 @@ function Get-OpenSSLVersion {
|
||||
}
|
||||
|
||||
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
|
||||
($(cmd /c "packer --version 2>&1") | Out-String) -match "(?<version>(\d+.){2}\d+)" | Out-Null
|
||||
$packerVersion = $Matches.Version
|
||||
return $packerVersion
|
||||
return "Packer $(packer --version)"
|
||||
}
|
||||
|
||||
function Get-ParcelVersion {
|
||||
|
||||
Reference in New Issue
Block a user