mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
[Ubuntu] Add apt-fast version to readme (#1846)
* add apt-fast * change to apt list * simplify the function
This commit is contained in:
@@ -8,6 +8,11 @@ function Get-AnsibleVersion {
|
||||
return "Ansible $ansibleVersion"
|
||||
}
|
||||
|
||||
function Get-AptFastVersion {
|
||||
$aptFastVersion = (dpkg-query --showformat='${Version}' --show apt-fast).Split('-')[0]
|
||||
return "apt-fast $aptFastVersion"
|
||||
}
|
||||
|
||||
function Get-AzCopy7Version {
|
||||
$azcopy7Version = azcopy --version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
|
||||
return "AzCopy7 $azcopy7Version (available by ``azcopy`` alias)"
|
||||
|
||||
Reference in New Issue
Block a user