Skip to content

Commit a54ab93

Browse files
authored
Merge pull request #15 from mycsharp/feature/push-on-main
only push stable packages
2 parents d2c4a82 + 7186746 commit a54ab93

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)