Skip to content

Commit

Permalink
Add condition to nuget push step
Browse files Browse the repository at this point in the history
  • Loading branch information
zsrdjan committed Aug 23, 2024
1 parent ce1e998 commit d3c0594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: ./Build.ps1
shell: pwsh
- name: Push to NuGet
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
env:
NUGET_URL: https://api.nuget.org/v3/index.json
NUGET_API_KEY: ${{ secrets.NUGET_FRAKTALIO_CI_API_KEY }}
Expand Down

0 comments on commit d3c0594

Please sign in to comment.