Use this plugin to publish artifacts from the build to a NuGet Repository You can override the default configuration with the following parameters:
source
- NuGet Repository URLapi_key
- Api Key used for authenticationverbosity
- NuGet output verbosity, default to 'quiet'. Accept: normal, quiet or detailedfiles
- List of files to upload
All file paths must be relative to current project sources
The following is a sample configuration in your .drone.yml file:
publish:
nuget:
source: http://nuget.company.com
api_key: <Your Key>
files:
- *.nupkg
If a file to upload does have .nuspec
extension, the nuget pack command is called before a push
If a file to upload does have .nupkg
extension, it is pushed directly