Skip to content

.NET Restore from Codebelt

Actions
An opinionated action that restore the dependencies for specified projects or the solution itself
v3.0.0
Latest
Star (0)

.NET Restore from Codebelt

Uses the .NET CLI dotnet restore command to restore the dependencies for specified projects or the solution itself.

Supports projects input we learned to appreciate from AzDO DotNetCoreCLI.

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.

See also: dotnet-restore

Usage

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

uses: codebeltnet/dotnet-restore@v2

Inputs

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

Outputs

This action has no outputs.

Examples

Restore all C# projects

steps:
  - name: Restore Dependencies
    uses: codebeltnet/dotnet-restore@v3

Caller workflows to showcase the Codebelt experience

Basic CI/CD Pipeline

Intermediate CI/CD Pipeline

Advanced CI/CD Pipeline

Contributing to .NET Restore 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.

.NET Restore from Codebelt is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An opinionated action that restore the dependencies for specified projects or the solution itself
v3.0.0
Latest

.NET Restore from Codebelt is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.