forked from LykkeCity/Lykke.Cqrs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from LykkeBusinessPlatform/LT-6045
LT-6045: update workflow to publish nuget package
- Loading branch information
Showing
3 changed files
with
51 additions
and
106 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Publish NuGet Package | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
type: string | ||
description: 'Version number (e.g. v1.0.0)' | ||
required: true | ||
default: 'v1.0.0' | ||
create_release: | ||
type: boolean | ||
description: 'Create a GitHub release' | ||
required: true | ||
default: true | ||
update_changelog: | ||
type: boolean | ||
description: 'Update CHANGELOG.md' | ||
required: true | ||
default: true | ||
release_name: | ||
type: string | ||
description: 'Release name. If empty, will be extracted from CHANGELOG.md or default value [Release ${VERSION}] will be used' | ||
required: false | ||
excluded_vulnerable_packages: | ||
type: string | ||
description: 'Comma-separated list of packages to exclude from vulnerability check' | ||
required: false | ||
default: '' | ||
excluded_deprecated_packages: | ||
type: string | ||
description: 'Comma-separated list of packages to exclude from deprecated check' | ||
required: false | ||
default: '' | ||
jobs: | ||
publish-nuget: | ||
name: Publish Nuget Package | ||
uses: LykkeBusiness/.github/.github/workflows/publish-nuget-package.yml@master | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
create_release: ${{ fromJSON(github.event.inputs.create_release) }} | ||
update_changelog: ${{ fromJSON(github.event.inputs.update_changelog) }} | ||
release_name: ${{ github.event.inputs.release_name }} | ||
excluded_vulnerable_packages: ${{ github.event.inputs.excluded_vulnerable_packages }} | ||
excluded_deprecated_packages: ${{ github.event.inputs.excluded_deprecated_packages }} | ||
path: '.' | ||
nuget-project-path: './src/Lykke.Cqrs' | ||
changelog_path: '.' | ||
secrets: | ||
inherit |
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