mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
Add dash version into documentation (#5796)
This commit is contained in:
committed by
GitHub
parent
03d3125c20
commit
220c7ad69b
@@ -3,6 +3,11 @@ function Get-BashVersion {
|
||||
return "Bash $version"
|
||||
}
|
||||
|
||||
function Get-DashVersion {
|
||||
$version = dpkg-query -W -f '${Version}' dash
|
||||
return "Dash $version"
|
||||
}
|
||||
|
||||
function Get-CPPVersions {
|
||||
$result = Get-CommandResult "apt list --installed" -Multiline
|
||||
$cppVersions = $result.Output | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object {
|
||||
|
||||
Reference in New Issue
Block a user