We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4833307 + 073f33d commit e7eada1Copy full SHA for e7eada1
.github/workflows/myget-publish.yml
@@ -1,6 +1,7 @@
1
name: MyGet Publish
2
3
on:
4
+ workflow_dispatch:
5
push:
6
branches: [ dev ]
7
.github/workflows/nuget-publish.yml
@@ -2,6 +2,8 @@ name: NuGet Publish
workflow_dispatch:
+ push:
+ branches: [ main ]
8
permissions:
9
contents: write
@@ -28,7 +30,7 @@ jobs:
28
30
- name: Push to NuGet
29
31
run: |
32
$nupkg = Get-ChildItem -Path .\artifacts\*.nupkg | Select-Object -First 1
- dotnet nuget push $nupkg.FullName --api-key ${{ secrets.NUGET_API_KEY }}
33
+ dotnet nuget push $nupkg.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
34
shell: pwsh
35
36
- name: Get NuGet package version
0 commit comments