mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[ubuntu] Remove apt sources used to install azure-cli only (#3274)
This commit is contained in:
@@ -184,7 +184,8 @@ function Get-JqVersion {
|
||||
|
||||
function Get-AzureCliVersion {
|
||||
$azcliVersion = az -v | Select-String "azure-cli" | Take-OutputPart -Part -1
|
||||
return "Azure CLI (azure-cli) $azcliVersion"
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "azure-cli"
|
||||
return "Azure CLI (azure-cli) $azcliVersion (installation method: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-AzureDevopsVersion {
|
||||
|
||||
Reference in New Issue
Block a user