We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c9563 commit 9d8bc40Copy full SHA for 9d8bc40
.github/workflows/main.yml
@@ -8,6 +8,11 @@ on:
8
required: true
9
default: "0.0.0-test"
10
type: string
11
+ force_release:
12
+ description: "Force release to nuget.org"
13
+ required: false
14
+ default: false
15
+ type: boolean
16
push:
17
branches:
18
- master
@@ -196,7 +201,7 @@ jobs:
196
201
197
202
# Only publish to NuGet on stable releases
198
203
- name: Publish packages (NuGet Registry)
199
- if: ${{ github.event_name == 'release' }}
204
+ if: ${{ github.event_name == 'release' || github.event.inputs.force_release }}
200
205
run: >
206
dotnet nuget push **/*.nupkg
207
--source https://api.nuget.org/v3/index.json
0 commit comments