mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
bash version output (#2243)
This commit is contained in:
committed by
GitHub
parent
034cf97599
commit
80c5d4a561
@@ -1,5 +1,10 @@
|
||||
Import-Module "$PSScriptRoot/../helpers/SoftwareReport.Helpers.psm1" -DisableNameChecking
|
||||
|
||||
function Get-BashVersion {
|
||||
$version = bash -c 'echo ${BASH_VERSION}'
|
||||
return "Bash $version"
|
||||
}
|
||||
|
||||
function Get-DotnetVersionList {
|
||||
$sdkRawList = Run-Command "dotnet --list-sdks"
|
||||
$sdkVersionList = $sdkRawList | ForEach-Object { Take-Part $_ -Part 0 }
|
||||
|
||||
Reference in New Issue
Block a user