Skip to content

Commit

Permalink
publishing on each 'published' event. improved publish job tag_name c…
Browse files Browse the repository at this point in the history
…ondition
  • Loading branch information
lwluc committed Mar 26, 2024
1 parent 56e2375 commit e587007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Maven Release
on:
release:
types: [created]
types: [published]
jobs:
publish:
if: startsWith(github.event.release.tag_name, 'v')
if: ${{ startsWith(github.event.release.tag_name, 'v') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit e587007

Please sign in to comment.