Skip to content

Commit

Permalink
Fix publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gudzpoz committed May 29, 2024
1 parent d090ba2 commit e0c39fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-natives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ jobs:
startsWith(github.ref, 'refs/tags/')
run: echo "IS_RELEASE=true" >> $GITHUB_ENV
- name: Publish
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down

0 comments on commit e0c39fd

Please sign in to comment.