Skip to content

codebeltnet/nuget-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet Push from Codebelt

Uses the NuGet CLI nuget push command that pushes a package to a package source and publishes it. Leverages the official setup-nuget action pre-configured specifically for the majority.

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/nuget-push@v2

Inputs

with:
  # The NuGet package source URL. Default is https://api.nuget.org/v3/index.json.
  source: 'https://api.nuget.org/v3/index.json'
  # Sets the verbosity level of the command. 
  # Allowed values are quiet, normal and detailed.
  verbosity-level: 'quiet'

Outputs

This action has no outputs.

Examples

Deploy to nuget.org

steps:
  - name: Push packages to NuGet
    uses: codebeltnet/nuget-push@v2

Tip

To have a complete experience for pushing NuGet packages to a feed, consider using the jobs-nuget-push reusable workflow.

Caller workflows to showcase the Codebelt experience

Basic CI/CD Pipeline

Intermediate CI/CD Pipeline

Advanced CI/CD Pipeline

Contributing to NuGet Push 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 publishing NuGet packages as part of your CD flow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published