This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a04ba48
commit 5c2fdb9
Showing
4 changed files
with
108 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,76 @@ | ||
name: Publish NuGet | ||
author: Rohith Reddy (@rohith) | ||
author: R2 (@brandedoutcast) | ||
description: Build, Pack & Publish a NuGet package with dotnet core on project version change | ||
|
||
inputs: | ||
PROJECT_FILE_PATH: | ||
description: Filepath of the project to be packaged, relative to root of repository | ||
required: true | ||
BUILD_CONFIGURATION: | ||
description: Configuration to build and package (default is Release) | ||
required: false | ||
default: Release | ||
BUILD_PLATFORM: | ||
description: Platform target to compile (default is empty/AnyCPU) | ||
required: false | ||
default: | ||
NUSPEC_FILE: | ||
description: file path to nuspec file | ||
required: false | ||
default: | ||
PACKAGE_NAME: | ||
description: NuGet package id, used for version detection & defaults to project name | ||
required: false | ||
VERSION_FILE_PATH: | ||
description: Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | ||
required: false | ||
VERSION_REGEX: | ||
description: Regex pattern to extract version info in a capturing group | ||
required: false | ||
default: ^\s*<(Package|)Version>(.*)<\/(Package|)Version>\s*$ | ||
VERSION_STATIC: | ||
description: Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | ||
required: false | ||
TAG_COMMIT: | ||
description: Flag to toggle git tagging, enabled by default | ||
required: false | ||
default: true | ||
TAG_FORMAT: | ||
description: Format of the git tag, [*] gets replaced with actual version | ||
required: false | ||
default: v* | ||
NUGET_KEY: | ||
description: API key to authenticate with NuGet server | ||
required: false | ||
NUGET_SOURCE: | ||
description: NuGet server uri hosting the packages, defaults to https://api.nuget.org | ||
required: false | ||
default: https://api.nuget.org | ||
INCLUDE_SYMBOLS: | ||
description: Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
required: false | ||
default: false | ||
PROJECT_FILE_PATH: | ||
description: Filepath of the project to be packaged, relative to root of repository | ||
required: true | ||
BUILD_CONFIGURATION: | ||
description: Configuration to build and package (default is Release) | ||
required: false | ||
default: Release | ||
BUILD_PLATFORM: | ||
description: Platform target to compile (default is empty/AnyCPU) | ||
required: false | ||
default: | ||
NUSPEC_FILE: | ||
description: file path to nuspec file | ||
required: false | ||
default: | ||
PACKAGE_NAME: | ||
description: NuGet package id, used for version detection & defaults to project name | ||
required: false | ||
VERSION_FILE_PATH: | ||
description: Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | ||
required: false | ||
VERSION_REGEX: | ||
description: Regex pattern to extract version info in a capturing group | ||
required: false | ||
default: ^\s*<(Package|)Version>(.*)<\/(Package|)Version>\s*$ | ||
VERSION_STATIC: | ||
description: Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX | ||
required: false | ||
TAG_COMMIT: | ||
description: Flag to toggle git tagging, enabled by default | ||
required: false | ||
default: true | ||
TAG_FORMAT: | ||
description: Format of the git tag, [*] gets replaced with actual version | ||
required: false | ||
default: v* | ||
NUGET_KEY: | ||
description: API key to authenticate with NuGet server | ||
required: false | ||
NUGET_SOURCE: | ||
description: NuGet server uri hosting the packages, defaults to https://api.nuget.org | ||
required: false | ||
default: https://api.nuget.org | ||
INCLUDE_SYMBOLS: | ||
description: Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
required: false | ||
default: false | ||
|
||
outputs: | ||
VERSION: | ||
description: Version of the associated git tag | ||
VERSION: | ||
description: Version of the associated git tag | ||
|
||
PACKAGE_NAME: | ||
description: Name of the NuGet package generated | ||
|
||
PACKAGE_PATH: | ||
description: Path to the generated NuGet package | ||
PACKAGE_NAME: | ||
description: Name of the NuGet package generated | ||
|
||
SYMBOLS_PACKAGE_NAME: | ||
description: Name of the symbols package generated | ||
|
||
SYMBOLS_PACKAGE_PATH: | ||
description: Path to the generated symbols package | ||
PACKAGE_PATH: | ||
description: Path to the generated NuGet package | ||
|
||
SYMBOLS_PACKAGE_NAME: | ||
description: Name of the symbols package generated | ||
|
||
SYMBOLS_PACKAGE_PATH: | ||
description: Path to the generated symbols package | ||
|
||
runs: | ||
using: node12 | ||
main: index.js | ||
using: node12 | ||
main: index.js | ||
|
||
branding: | ||
icon: package | ||
color: blue | ||
icon: package | ||
color: blue |