mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +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"
|
||||
}
|
||||
|
||||
function Get-PerlVersion {
|
||||
$version = Run-Command "perl -e 'print substr(`$^V,1)'"
|
||||
return "Perl $version"
|
||||
}
|
||||
|
||||
function Get-PythonVersion {
|
||||
$pythonVersion = Run-Command "python --version"
|
||||
return $pythonVersion
|
||||
|
||||
@@ -34,6 +34,7 @@ $languageAndRuntimeList = @(
|
||||
(Get-NodeVersion),
|
||||
(Get-NVMVersion),
|
||||
(Get-NVMNodeVersionList),
|
||||
(Get-PerlVersion),
|
||||
(Get-PythonVersion),
|
||||
(Get-Python3Version),
|
||||
(Get-RubyVersion),
|
||||
|
||||
@@ -81,6 +81,10 @@ Describe "CommonUtils" {
|
||||
"packer --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Perl" {
|
||||
"perl -e 'print substr($^V,1)'" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Helm" {
|
||||
"helm version --short" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -121,10 +125,6 @@ Describe "CommonUtils" {
|
||||
"julia --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "virtualbox" -Skip:($os.IsBigSur) {
|
||||
"vboxmanage -v" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "jq" {
|
||||
"jq --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -141,6 +141,10 @@ Describe "CommonUtils" {
|
||||
"vagrant --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "virtualbox" -Skip:($os.IsBigSur) {
|
||||
"vboxmanage -v" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "xctool" -Skip:($os.IsBigSur) {
|
||||
"xctool --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
@@ -203,32 +203,33 @@
|
||||
],
|
||||
"brew": {
|
||||
"common_packages": [
|
||||
"carthage",
|
||||
"cmake",
|
||||
"subversion",
|
||||
"go",
|
||||
"gnupg",
|
||||
"llvm",
|
||||
"libpq",
|
||||
"zstd",
|
||||
"packer",
|
||||
"helm",
|
||||
"aliyun-cli",
|
||||
"bazelisk",
|
||||
"gh",
|
||||
"p7zip",
|
||||
"ant",
|
||||
"aria2",
|
||||
"gnu-tar",
|
||||
"xctool",
|
||||
"bats",
|
||||
"parallel"
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
"go",
|
||||
"helm",
|
||||
"libpq",
|
||||
"llvm",
|
||||
"p7zip",
|
||||
"packer",
|
||||
"parallel",
|
||||
"perl",
|
||||
"subversion",
|
||||
"xctool",
|
||||
"zstd"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia",
|
||||
"virtualbox",
|
||||
"r",
|
||||
"vagrant",
|
||||
"r"
|
||||
"virtualbox"
|
||||
]
|
||||
},
|
||||
"toolcache": [
|
||||
|
||||
@@ -226,32 +226,33 @@
|
||||
],
|
||||
"brew": {
|
||||
"common_packages": [
|
||||
"carthage",
|
||||
"cmake",
|
||||
"subversion",
|
||||
"go",
|
||||
"gnupg",
|
||||
"llvm",
|
||||
"libpq",
|
||||
"zstd",
|
||||
"packer",
|
||||
"helm",
|
||||
"aliyun-cli",
|
||||
"bazelisk",
|
||||
"gh",
|
||||
"p7zip",
|
||||
"ant",
|
||||
"aria2",
|
||||
"gnu-tar",
|
||||
"xctool",
|
||||
"bats",
|
||||
"parallel"
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
"go",
|
||||
"helm",
|
||||
"libpq",
|
||||
"llvm",
|
||||
"p7zip",
|
||||
"packer",
|
||||
"parallel",
|
||||
"perl",
|
||||
"subversion",
|
||||
"xctool",
|
||||
"zstd"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia",
|
||||
"virtualbox",
|
||||
"r",
|
||||
"vagrant",
|
||||
"r"
|
||||
"virtualbox"
|
||||
]
|
||||
},
|
||||
"toolcache": [
|
||||
|
||||
@@ -163,32 +163,33 @@
|
||||
],
|
||||
"brew": {
|
||||
"common_packages": [
|
||||
"carthage",
|
||||
"cmake",
|
||||
"subversion",
|
||||
"go",
|
||||
"gnupg",
|
||||
"llvm",
|
||||
"libpq",
|
||||
"zstd",
|
||||
"packer",
|
||||
"helm",
|
||||
"aliyun-cli",
|
||||
"bazelisk",
|
||||
"gh",
|
||||
"p7zip",
|
||||
"ant",
|
||||
"aria2",
|
||||
"gnu-tar",
|
||||
"xctool",
|
||||
"bats",
|
||||
"parallel"
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
"go",
|
||||
"helm",
|
||||
"libpq",
|
||||
"llvm",
|
||||
"p7zip",
|
||||
"packer",
|
||||
"parallel",
|
||||
"perl",
|
||||
"subversion",
|
||||
"xctool",
|
||||
"zstd"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia",
|
||||
"virtualbox",
|
||||
"r",
|
||||
"vagrant",
|
||||
"r"
|
||||
"virtualbox"
|
||||
]
|
||||
},
|
||||
"toolcache": [
|
||||
|
||||
@@ -96,23 +96,24 @@
|
||||
],
|
||||
"brew": {
|
||||
"common_packages": [
|
||||
"carthage",
|
||||
"cmake",
|
||||
"subversion",
|
||||
"go",
|
||||
"gnupg",
|
||||
"llvm",
|
||||
"libpq",
|
||||
"zstd",
|
||||
"packer",
|
||||
"helm",
|
||||
"aliyun-cli",
|
||||
"bazelisk",
|
||||
"gh",
|
||||
"p7zip",
|
||||
"ant",
|
||||
"aria2",
|
||||
"gnu-tar"
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
"go",
|
||||
"helm",
|
||||
"libpq",
|
||||
"llvm",
|
||||
"p7zip",
|
||||
"packer",
|
||||
"perl",
|
||||
"subversion",
|
||||
"zstd"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia"
|
||||
|
||||
Reference in New Issue
Block a user