Skip to content

Commit 9d632ce

Browse files
authored
Update dotnet.yml
1 parent d024855 commit 9d632ce

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,19 @@ jobs:
3333
with:
3434
name: packages
3535
path: ./release/*
36+
publish:
37+
needs : [build]
38+
runs-on: ubuntu-latest
39+
40+
steps:
41+
- name: Download a Build Artifact
42+
uses: actions/download-artifact@v2.0.4
43+
with:
44+
name: packages
45+
path: packages
46+
- name: Setup .NET
47+
uses: actions/setup-dotnet@v1
48+
with:
49+
dotnet-version: 3.1.x
50+
- name: Publish to Myget
51+
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}}

0 commit comments

Comments
 (0)