Skip to content

Commit b2ebf1b

Browse files
committed
Add MyGet RC feed to workflow
1 parent 8c8e460 commit b2ebf1b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build-package.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
required: false
1919
type: boolean
2020
default: true
21+
publish-myget-rc:
22+
description: 'Publish to MyGet.org RC feed'
23+
required: false
24+
type: boolean
25+
default: false
2126
publish-nuget-org:
2227
description: 'Publish to NuGet.org'
2328
required: false
@@ -62,6 +67,11 @@ jobs:
6267
run: |
6368
dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
6469
70+
- name: Upload packages to MyGet RC feed
71+
if: ${{ inputs['publish-myget-rc'] }}
72+
run: |
73+
dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.MYGET_RC_TOKEN }} -s ${{ secrets.MYGET_RC_FEED }}
74+
6575
- name: Upload packages to NuGet.org
6676
if: ${{ inputs['publish-nuget-org'] }}
6777
run: |

0 commit comments

Comments
 (0)