actions-marketplace-validations/Publish DotNet

Build, Pack & Publish a NuGet package with dotnet core on project version change

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit May 11, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/springhgui_publish-nuget@8009c8f6525d6ca4ebc37651265558830acb1f75 # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
PROJECT_FILE_PATHFilepath of the project to be packaged, relative to root of repositoryyes
PACKAGE_NAMENuGet package id, used for version detection & defaults to project nameno
VERSION_FILE_PATHFilepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATHno
VERSION_REGEXRegex pattern to extract version info in a capturing groupno^\s*<(Package|)Version>(.*)<\/(Package|)Version>\s*$
VERSION_STATICUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
TAG_COMMITFlag to toggle git tagging, enabled by defaultnotrue
TAG_FORMATFormat of the git tag, [*] gets replaced with actual versionnov*
NUGET_KEYAPI key to authenticate with NuGet serverno
NUGET_SOURCENuGet server uri hosting the packages, defaults to https://api.nuget.orgnohttps://api.nuget.org
INCLUDE_SYMBOLSFlag to toggle pushing symbols along with nuget package to the server, disabled by defaultnofalse
namedescription
VERSIONVersion of the associated git tag
PACKAGE_NAMEName of the NuGet package generated
PACKAGE_PATHPath to the generated NuGet package
SYMBOLS_PACKAGE_NAMEName of the symbols package generated
SYMBOLS_PACKAGE_PATHPath to the generated symbols package