mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-03 15:57:26 +08: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),
|
||||
|
||||
Reference in New Issue
Block a user