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 82544f2 commit b1d9fdb
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 b1d9fdb

Please sign in to comment.