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"
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user