Release Patch Package by @cYKatherine #35
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
name: Build and Publish Nuget Packages | |
run-name: ${{ format('Release {0}', inputs.release_type)}} Package by @${{ github.actor }} | |
on: | |
workflow_dispatch: | |
inputs: | |
release_type: | |
type: choice | |
description: The type of release | |
options: | |
- Major | |
- Minor | |
- Patch | |
publish_vulnerabilities: | |
type: string | |
default: true | |
dotnet_version: | |
type: string | |
default: 5.0 | |
jobs: | |
build-and-pubish: | |
name: Build and publish JAR packages to Nuget repository | |
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-nuget-versioned.yaml@v2 | |
with: | |
release_type: ${{ inputs.release_type }} | |
dotnet_version: ${{ inputs.dotnet_version }} | |
secrets: inherit |