mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 03:57:32 +00:00
[Linux] Minor documentation improvements (#6749)
This commit is contained in:
@@ -29,13 +29,17 @@ function Get-CommandResult {
|
||||
}
|
||||
}
|
||||
|
||||
function Get-OSName {
|
||||
lsb_release -ds
|
||||
function Get-OSVersionShort {
|
||||
$(Get-OSVersionFull) | Take-OutputPart -Delimiter '.' -Part 0,1
|
||||
}
|
||||
|
||||
function Get-OSVersionFull {
|
||||
lsb_release -ds | Take-OutputPart -Part 1, 2
|
||||
}
|
||||
|
||||
function Get-KernelVersion {
|
||||
$kernelVersion = uname -r
|
||||
return "Linux kernel version: $kernelVersion"
|
||||
return $kernelVersion
|
||||
}
|
||||
|
||||
function Test-IsUbuntu18 {
|
||||
|
||||
Reference in New Issue
Block a user