Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 27, 2021 01:20 pm GMT

Dotnet Outdated - Install and Update

My Workflow

Dotnet Outdated Action

This action installs the dotnet outdated dotnet tool and then attempts to update any NuGet packages that are available.

Inputs

location

The location of the solution or project that needs dependency updates. Default "".

Outputs

updated

Set to true if there were package updates and false if no package updates were required.

Example usage

uses: stphnwlsh/dotnet-outdated-action@v1with:  location: 'Sample.sln'



Submission Category:

Maintainer Must-Haves

Yaml File or Link to Code

https://github.com/stphnwlsh/CleanGraphQLApi/blob/main/.github/workflows/dependency-updates.yml

GitHub logo stphnwlsh / CleanGraphQLApi

A template for an API using Clean Architecture and GraphQL.net.

Clean GraphQL API

GitHub Workflow StatusCodecovNuget

This is a template API using Clean Architecture alongside a .net implementation of GraphQL.

Prerequisites

This solution in built on the .net 6 SDK, you need to install that before it will work for you. If you want to build the Dockerfile you will need to install Docker as well.

Installation

This is a template and you can install it using the dotnet new cli. To install the lastest version of the template run the following command.

dotnet new --install CleanGraphQLApi.Template

To create a new solution using this template run the following command

dotnet new cleangraphqlapi --name {YOUR_SOLUTION_NAMESPACE} --au "{YOU_AUTHORS_NAME}"

Docker

There's a dockerfile included in the build folder and serves the purpose of restoring, building, testing, publishing and then creating a runtime image of the API. Works on my machine.....you can add a version prefix and suffix to version the service in the

Additional Resources / Info

https://github.com/stphnwlsh/CleanGraphQLApi
https://github.com/stphnwlsh/CleanMinimalApi
https://github.com/stphnwlsh/SimpleDateTimeProvider


Original Link: https://dev.to/stphnwlsh/dotnet-outdated-install-and-update-36ll

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To