Skip to content

Commit f1a9273

Browse files
authored
publish tagged releases to nuget
1 parent 9aaafa8 commit f1a9273

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
uses: actions/setup-dotnet@v1
4949
with:
5050
dotnet-version: 3.1.x
51+
5152
- name: Publish to Myget
5253
run: dotnet nuget push packages/*.nupkg -s https://www.myget.org/F/tocsoft/api/v2/package -ss https://www.myget.org/F/tocsoft/symbols/api/v2/package -k ${{secrets.MYGET_KEY}}
5354

5455
- name: Publish to nuget
5556
if: contains(github.ref, 'refs/tags/')
56-
run: echo "publish to nuget here!!!"
57+
run: dotnet nuget push packages/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_KEY}}
58+

0 commit comments

Comments
 (0)