Skip to content

codebeltnet/install-nuget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install NuGet CLI from Codebelt

Install a given version of NuGet CLI.

This action is part of the Codebelt umbrella and ensures a consistent way of:

  • Defining your CI/CD pipeline
  • Structuring your repository
  • Keeping your codebase small and feasible
  • Writing clean and maintainable code
  • Deploying your code to different environments
  • Automating as much as possible

A paved path to excel as a DevSecOps Engineer.

Usage

To use this action in your GitHub repository, you can follow these steps:

uses: codebeltnet/install-nuget@v1

Inputs

with:
  # The NuGet API key.
  token:
  # The version of NuGet CLI to install. Default is 6.14.0.
  version: '6.14.0'

Outputs

This action has no outputs.

Examples

Install latest version of NuGet CLI

steps:
  - name: Install NuGet CLI
    uses: codebeltnet/install-nuget@v1
    with:
      token: ${{ secrets.NUGET_TOKEN }}
      version: 'latest'

Tip

The jobs-nuget-push reusable workflow provides the complete experience for pushing NuGet packages to a feed.

Caller workflows to showcase the Codebelt experience

Basic CI/CD Pipeline

Intermediate CI/CD Pipeline

Advanced CI/CD Pipeline

Contributing to Install NuGet from Codebelt

Contributions are welcome! Feel free to submit issues, feature requests, or pull requests to help improve this action.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tip

To learn more about the Codebelt experience and offerings, visit our organization page on GitHub.

About

An opinionated GitHub Action for installing NuGet CLI as part of your CI flow.

Resources

License

Stars

Watchers

Forks