Skip to content

codebeltnet/dotnet-pack

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Pack from Codebelt

Uses the .NET CLI dotnet pack command to retrieve previously build projects and packs them into a NuGet package.

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/dotnet-pack@v3

Inputs

with:
  # Optional path to the project(s) file to build. Supports globbing.
  projects: ''
  # Sets the verbosity level of the command.
  # Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
  verbosity-level: 'quiet'

Outputs

This action has no outputs.

Reusable Workflow

A complementary jobs-dotnet-pack reusable workflow is available, allowing you to fully leverage the Codebelt experience in your GitHub Actions pipeline.

Examples

Pack

- name: Pack for Release
  uses: codebeltnet/dotnet-pack@v3

Caller workflows to showcase the Codebelt experience

Basic CI/CD Pipeline

Intermediate CI/CD Pipeline

Advanced CI/CD Pipeline

Contributing to .NET Pack 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 producing NuGet packages as part of your CI flow.

Resources

License

Stars

Watchers

Forks