mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-19 00:06:45 +00:00
[Ubuntu] Remove duplicated line with Python version from report (#8035)
This commit is contained in:
committed by
GitHub
parent
ff6a3d4b29
commit
38a9b4344f
@@ -99,12 +99,6 @@ function Get-PythonVersion {
|
||||
return $version
|
||||
}
|
||||
|
||||
function Get-Python3Version {
|
||||
$result = Get-CommandResult "python3 --version"
|
||||
$version = $result.Output | Take-OutputPart -Part 1
|
||||
return $version
|
||||
}
|
||||
|
||||
function Get-PowershellVersion {
|
||||
return $(pwsh --version) | Take-OutputPart -Part 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user