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.
1 parent 4beb90d commit 0ab012dCopy full SHA for 0ab012d
.github/workflows/build-and-release.yml
@@ -37,7 +37,7 @@ jobs:
37
name: packages
38
path: '**/*.nupkg'
39
- name: Push to nuget.org
40
- if: github.ref == 'refs/heads/main'
+ if: startsWith(github.ref, 'refs/tags/v')
41
run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
42
env:
43
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
0 commit comments