Skip to content

Commit 7186746

Browse files
committed
add if
1 parent d2c4a82 commit 7186746

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
/p:Version=${{ steps.nbgv.outputs.NuGetPackageVersion }}
4040

4141
- name: Push to NuGet
42+
## push only stable packages
43+
if: github.ref == 'refs/heads/main'
4244
run: dotnet nuget push **/*.nupkg
4345
--api-key ${{ secrets.NUGET_DEPLOY_KEY }}
4446
--source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)