File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 77 types : [completed]
88 branches : [main, v2]
99
10- workflow_dispatch :
11- inputs :
12- nugetRelease :
13- description : ' Release to NuGet? Set to "true" to release to NuGet.org as well as GPR.'
14- required : true
15- default : ' true'
16-
1710jobs :
1811 release-preview :
1912 if : github.event_name == 'workflow_dispatch' || (github.ref == 'refs/heads/main' && ${{ github.event.workflow_run.conclusion == 'success' }}) || (github.ref == 'refs/heads/v2' && ${{ github.event.workflow_run.conclusion == 'success' }})
5851 run : dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/bunit-dev/index.json --skip-duplicate --no-symbols
5952
6053 - name : 🛠️ Upload library to NuGet.org repository
61- if : github.event.inputs.nugetRelease == 'true'
6254 run : dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
You can’t perform that action at this time.
0 commit comments