We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9267a97 commit 5d1d919Copy full SHA for 5d1d919
1 file changed
.github/workflows/msbuild.yml
@@ -72,8 +72,10 @@ jobs:
72
# A file, directory or wildcard pattern that describes what to upload
73
path: Debug/*.dll
74
- name: Set up nuget source
75
+ if: startsWith(github.ref, 'refs/tags/v')
76
run: nuget sources add -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -Name github -Username ${{ github.repository_owner }} -Password ${{ github.token }} -StorePasswordInClearText
77
- name: Publish Nuget to GitHub registry
78
79
run: nuget push *.nupkg -Source github -SkipDuplicate -NoSymbols
80
env:
81
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments