Skip to content

Commit

Permalink
publish artefact on release
Browse files Browse the repository at this point in the history
  • Loading branch information
wetret committed Jun 18, 2024
1 parent ae5c5d5 commit 9c69423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:
jobs:
publish:

# Only run if pull requests are merged, omit running if pull requests are closed without merging
if: github.event.pull_request.merged
# Only run if releases are published or pull requests are merged,
# omit running if pull requests are closed without merging
if: github.event.pull_request.merged || github.event.action == 'published'

runs-on: ubuntu-latest

Expand Down

0 comments on commit 9c69423

Please sign in to comment.