dmsrsrepos/Niubility Publish to NuGet.org

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
Stale
License
None
Runtime
Deprecated runtime
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*<Version>(.*)<\/Version>\s*$
VERSION_STATICUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
VERSION_STATIC_PREFIXUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
VERSION_STATIC_SUFFIXUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
ASSEMBLY_VERSIONUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
FILE_VERSIONUseful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEXno
PACKAGE_VERSIONUseful 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, https://nuget.pkg.github.com or https://api.nuget.org. 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
ERROR_CONTINUEFlag to set continue the next task when some error happenednofalse
NO_BUILDFlag to toggle building the project before pack, disabled by defaultnofalse
SIGNING_CERT_FILE_NAMECertificate file name (should be in root folder) to sign the package before uploadno
GITHUB_USERRequired for packages pushed to Github Package Registry. User allowed to push to repository, defaults to GITHUB_ACTOR (user that triggered the action)no
GITHUB_PASSWORDGithub password, defaults to NUGET_KEYno
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