Skip to content
download

GitHub Action

Setup Nuget.exe

v1 Latest version

Setup Nuget.exe

download

Setup Nuget.exe

Goes and downloads latest Nuget.exe as CLI tool and puts it into the path

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Nuget.exe

uses: warrenbuckley/Setup-Nuget@v1

Learn more about this action in warrenbuckley/Setup-Nuget

Choose a version

setup-nuget

This action setsup Nuget.exe as a CLI tool for use in actions by:

  • optionally downloading and caching a version of nuget.exe and adds to PATH for future steps to use

Status: Archived

This GitHub action is now retired/archived as I have collobrated directly with Microsoft to release an official MSBuild GitHub Action https://github.com/NuGet/setup-nuget
https://github.com/marketplace/actions/setup-nuget-exe-for-use-with-actions

Usage

Basic:

steps:
name: ASP.NET CI
on: [push]
jobs:
  build:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@master

    - name: Setup Nuget.exe
      uses: warrenbuckley/Setup-Nuget@v1

    - name: Nuget Push
      run: nuget push *.nupkg

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide