Skip to content

Commit 423bf06

Browse files
Update build-and-test.yml
1 parent 516cfed commit 423bf06

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ jobs:
144144
- name: MyGet Publish
145145
shell: pwsh
146146
run: |
147-
$source = "https://www.myget.org/F/sixlabors/api/v3/index.json"
148-
dotnet nuget push .\artifacts\*.nupkg -n -k ${{secrets.MYGET_TOKEN}} -sk ${{secrets.MYGET_TOKEN}} -s $source -ss $source
149-
dotnet nuget push .\artifacts\*.snupkg -k ${{secrets.MYGET_TOKEN}} -sk ${{secrets.MYGET_TOKEN}} -s $source -ss $source
147+
dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.MYGET_TOKEN}} -s https://www.myget.org/F/sixlabors/api/v2/package
148+
dotnet nuget push .\artifacts\*.snupkg -k ${{secrets.MYGET_TOKEN}} -s https://www.myget.org/F/sixlabors/api/v3/index.json
150149
# TODO: If github.ref starts with 'refs/tags' then it was tag push and we can optionally push out package to nuget.org

0 commit comments

Comments
 (0)