File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1212 - master
1313
1414 workflow_dispatch :
15+ inputs :
16+ deployToFeedz :
17+ description : ' Deploy the libraries to feedz.io'
18+ required : true
19+ default : false
20+ deployToNuGet :
21+ description : ' Deploy the libraries to NuGet.org'
22+ required : true
23+ default : false
1524
1625env :
1726 BUILD_CONFIGURATION : Release
6372
6473 - name : Push to feedz.io
6574 run : dotnet nuget push **/*.nupkg -k ${{ secrets.FEEDZ_API_KEY }} -s https://f.feedz.io/forevolve/exception-mapper/nuget/index.json
66- if : github.event_name == 'pull_request'
75+ if : ${{ env.INPUT_DEPLOYTOFEEDZ == true || github.event_name == 'pull_request' }}
6776
6877 - name : Push to NuGet.org
6978 run : dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
70- if : github.event_name == 'push'
79+ if : ${{ env.INPUT_DEPLOYTONUGET == true || github.event_name == 'push' }}
You can’t perform that action at this time.
0 commit comments