mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macOS] Update default Perl (#2478)
* update default Perl * escape $ sign
This commit is contained in:
committed by
GitHub
parent
c29e01a1da
commit
c47ccfbf9a
@@ -163,6 +163,11 @@ function Get-NodeVersion {
|
|||||||
return "Node.js $nodeVersion"
|
return "Node.js $nodeVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Get-PerlVersion {
|
||||||
|
$version = Run-Command "perl -e 'print substr(`$^V,1)'"
|
||||||
|
return "Perl $version"
|
||||||
|
}
|
||||||
|
|
||||||
function Get-PythonVersion {
|
function Get-PythonVersion {
|
||||||
$pythonVersion = Run-Command "python --version"
|
$pythonVersion = Run-Command "python --version"
|
||||||
return $pythonVersion
|
return $pythonVersion
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ $languageAndRuntimeList = @(
|
|||||||
(Get-NodeVersion),
|
(Get-NodeVersion),
|
||||||
(Get-NVMVersion),
|
(Get-NVMVersion),
|
||||||
(Get-NVMNodeVersionList),
|
(Get-NVMNodeVersionList),
|
||||||
|
(Get-PerlVersion),
|
||||||
(Get-PythonVersion),
|
(Get-PythonVersion),
|
||||||
(Get-Python3Version),
|
(Get-Python3Version),
|
||||||
(Get-RubyVersion),
|
(Get-RubyVersion),
|
||||||
|
|||||||
@@ -81,6 +81,10 @@ Describe "CommonUtils" {
|
|||||||
"packer --version" | Should -ReturnZeroExitCode
|
"packer --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
It "Perl" {
|
||||||
|
"perl -e 'print substr($^V,1)'" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
|
||||||
It "Helm" {
|
It "Helm" {
|
||||||
"helm version --short" | Should -ReturnZeroExitCode
|
"helm version --short" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
@@ -121,10 +125,6 @@ Describe "CommonUtils" {
|
|||||||
"julia --version" | Should -ReturnZeroExitCode
|
"julia --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
It "virtualbox" -Skip:($os.IsBigSur) {
|
|
||||||
"vboxmanage -v" | Should -ReturnZeroExitCode
|
|
||||||
}
|
|
||||||
|
|
||||||
It "jq" {
|
It "jq" {
|
||||||
"jq --version" | Should -ReturnZeroExitCode
|
"jq --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
@@ -141,6 +141,10 @@ Describe "CommonUtils" {
|
|||||||
"vagrant --version" | Should -ReturnZeroExitCode
|
"vagrant --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
It "virtualbox" -Skip:($os.IsBigSur) {
|
||||||
|
"vboxmanage -v" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
|
||||||
It "xctool" -Skip:($os.IsBigSur) {
|
It "xctool" -Skip:($os.IsBigSur) {
|
||||||
"xctool --version" | Should -ReturnZeroExitCode
|
"xctool --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -203,32 +203,33 @@
|
|||||||
],
|
],
|
||||||
"brew": {
|
"brew": {
|
||||||
"common_packages": [
|
"common_packages": [
|
||||||
"carthage",
|
|
||||||
"cmake",
|
|
||||||
"subversion",
|
|
||||||
"go",
|
|
||||||
"gnupg",
|
|
||||||
"llvm",
|
|
||||||
"libpq",
|
|
||||||
"zstd",
|
|
||||||
"packer",
|
|
||||||
"helm",
|
|
||||||
"aliyun-cli",
|
"aliyun-cli",
|
||||||
"bazelisk",
|
|
||||||
"gh",
|
|
||||||
"p7zip",
|
|
||||||
"ant",
|
"ant",
|
||||||
"aria2",
|
"aria2",
|
||||||
"gnu-tar",
|
|
||||||
"xctool",
|
|
||||||
"bats",
|
"bats",
|
||||||
"parallel"
|
"bazelisk",
|
||||||
|
"carthage",
|
||||||
|
"cmake",
|
||||||
|
"gh",
|
||||||
|
"gnupg",
|
||||||
|
"gnu-tar",
|
||||||
|
"go",
|
||||||
|
"helm",
|
||||||
|
"libpq",
|
||||||
|
"llvm",
|
||||||
|
"p7zip",
|
||||||
|
"packer",
|
||||||
|
"parallel",
|
||||||
|
"perl",
|
||||||
|
"subversion",
|
||||||
|
"xctool",
|
||||||
|
"zstd"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
"virtualbox",
|
"r",
|
||||||
"vagrant",
|
"vagrant",
|
||||||
"r"
|
"virtualbox"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"toolcache": [
|
"toolcache": [
|
||||||
|
|||||||
@@ -226,32 +226,33 @@
|
|||||||
],
|
],
|
||||||
"brew": {
|
"brew": {
|
||||||
"common_packages": [
|
"common_packages": [
|
||||||
"carthage",
|
|
||||||
"cmake",
|
|
||||||
"subversion",
|
|
||||||
"go",
|
|
||||||
"gnupg",
|
|
||||||
"llvm",
|
|
||||||
"libpq",
|
|
||||||
"zstd",
|
|
||||||
"packer",
|
|
||||||
"helm",
|
|
||||||
"aliyun-cli",
|
"aliyun-cli",
|
||||||
"bazelisk",
|
|
||||||
"gh",
|
|
||||||
"p7zip",
|
|
||||||
"ant",
|
"ant",
|
||||||
"aria2",
|
"aria2",
|
||||||
"gnu-tar",
|
|
||||||
"xctool",
|
|
||||||
"bats",
|
"bats",
|
||||||
"parallel"
|
"bazelisk",
|
||||||
|
"carthage",
|
||||||
|
"cmake",
|
||||||
|
"gh",
|
||||||
|
"gnupg",
|
||||||
|
"gnu-tar",
|
||||||
|
"go",
|
||||||
|
"helm",
|
||||||
|
"libpq",
|
||||||
|
"llvm",
|
||||||
|
"p7zip",
|
||||||
|
"packer",
|
||||||
|
"parallel",
|
||||||
|
"perl",
|
||||||
|
"subversion",
|
||||||
|
"xctool",
|
||||||
|
"zstd"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
"virtualbox",
|
"r",
|
||||||
"vagrant",
|
"vagrant",
|
||||||
"r"
|
"virtualbox"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"toolcache": [
|
"toolcache": [
|
||||||
|
|||||||
@@ -163,32 +163,33 @@
|
|||||||
],
|
],
|
||||||
"brew": {
|
"brew": {
|
||||||
"common_packages": [
|
"common_packages": [
|
||||||
"carthage",
|
|
||||||
"cmake",
|
|
||||||
"subversion",
|
|
||||||
"go",
|
|
||||||
"gnupg",
|
|
||||||
"llvm",
|
|
||||||
"libpq",
|
|
||||||
"zstd",
|
|
||||||
"packer",
|
|
||||||
"helm",
|
|
||||||
"aliyun-cli",
|
"aliyun-cli",
|
||||||
"bazelisk",
|
|
||||||
"gh",
|
|
||||||
"p7zip",
|
|
||||||
"ant",
|
"ant",
|
||||||
"aria2",
|
"aria2",
|
||||||
"gnu-tar",
|
|
||||||
"xctool",
|
|
||||||
"bats",
|
"bats",
|
||||||
"parallel"
|
"bazelisk",
|
||||||
|
"carthage",
|
||||||
|
"cmake",
|
||||||
|
"gh",
|
||||||
|
"gnupg",
|
||||||
|
"gnu-tar",
|
||||||
|
"go",
|
||||||
|
"helm",
|
||||||
|
"libpq",
|
||||||
|
"llvm",
|
||||||
|
"p7zip",
|
||||||
|
"packer",
|
||||||
|
"parallel",
|
||||||
|
"perl",
|
||||||
|
"subversion",
|
||||||
|
"xctool",
|
||||||
|
"zstd"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
"virtualbox",
|
"r",
|
||||||
"vagrant",
|
"vagrant",
|
||||||
"r"
|
"virtualbox"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"toolcache": [
|
"toolcache": [
|
||||||
|
|||||||
@@ -96,23 +96,24 @@
|
|||||||
],
|
],
|
||||||
"brew": {
|
"brew": {
|
||||||
"common_packages": [
|
"common_packages": [
|
||||||
"carthage",
|
|
||||||
"cmake",
|
|
||||||
"subversion",
|
|
||||||
"go",
|
|
||||||
"gnupg",
|
|
||||||
"llvm",
|
|
||||||
"libpq",
|
|
||||||
"zstd",
|
|
||||||
"packer",
|
|
||||||
"helm",
|
|
||||||
"aliyun-cli",
|
"aliyun-cli",
|
||||||
"bazelisk",
|
|
||||||
"gh",
|
|
||||||
"p7zip",
|
|
||||||
"ant",
|
"ant",
|
||||||
"aria2",
|
"aria2",
|
||||||
"gnu-tar"
|
"bazelisk",
|
||||||
|
"carthage",
|
||||||
|
"cmake",
|
||||||
|
"gh",
|
||||||
|
"gnupg",
|
||||||
|
"gnu-tar",
|
||||||
|
"go",
|
||||||
|
"helm",
|
||||||
|
"libpq",
|
||||||
|
"llvm",
|
||||||
|
"p7zip",
|
||||||
|
"packer",
|
||||||
|
"perl",
|
||||||
|
"subversion",
|
||||||
|
"zstd"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
Reference in New Issue
Block a user