Module nuget_install_package

Module nuget_install_package 

Source
Expand description

Download NuGet packages using dotnet restore with a synthetic .csproj.

On CI (ADO/GitHub), relies on ambient pipeline credentials (set by NuGetAuthenticate@1 or equivalent). Locally, uses az account get-access-token to obtain an Azure DevOps bearer token, exchanges it for a session token via the Azure DevOps REST API, and passes it to the NuGet credential provider via the VSS_NUGET_EXTERNAL_FEED_ENDPOINTS environment variable.

Structs§

Node
(see module-level docs)
NugetPackage

Enums§

Request