mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[ubuntu] Install yq (#3646)
This commit is contained in:
@@ -123,6 +123,7 @@ $toolsList = @(
|
||||
(Get-HHVMVersion),
|
||||
(Get-SVNVersion),
|
||||
(Get-JqVersion),
|
||||
(Get-YqVersion),
|
||||
(Get-KindVersion),
|
||||
(Get-KubectlVersion),
|
||||
(Get-KustomizeVersion),
|
||||
|
||||
@@ -278,3 +278,8 @@ function Get-ZstdVersion {
|
||||
$zstdVersion = zstd --version | Take-OutputPart -Part 1 -Delimiter "v" | Take-OutputPart -Part 0 -Delimiter ","
|
||||
return "zstd $zstdVersion (homebrew)"
|
||||
}
|
||||
|
||||
function Get-YqVersion {
|
||||
$yqVersion = ($(yq -V) -Split " ")[-1]
|
||||
return "yq $yqVersion"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user