Workflows for .NET library continuous delivery
$ dotnet add package Library.Net.ContinuousDelivery.TestContinuous delivery workflow for releasing DotNet libraries on NuGet.org.
Releases of the reusable workflow produces minor and major tags that can be referenced instead of a release tag, branch or commit. Recommended is to follow a major tag, i.e v0.
Example workflow that releases on every push:
name: Continuous Delivery
on:
push:
branches:
- "**"
tags-ignore:
- '**'
permissions:
contents: write
jobs:
release:
name: Release
uses: https://github.com/Fresa/Library.Net.ContinuousDelivery/.github/workflows/release.yml@main
with:
project_path: src/Project
project_name: Project
secrets:
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
Project.PropertyGroup.PackageId project property from the referenced project.Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.