Skip to content

Commit e16ccc9

Browse files
committed
don't re-run publishing when release is created
1 parent f317668 commit e16ccc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/workflow_release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010
type: string
1111
push:
1212
branches: [ main ]
13-
release:
14-
types: [ created ]
1513

1614

1715
concurrency:
@@ -32,7 +30,7 @@ jobs:
3230
publish-maven:
3331
needs: tests
3432
# only publish when manually triggered, or it's the main branch, or it's for a release
35-
if: inputs.checkout-ref || github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'created')
33+
if: inputs.checkout-ref || github.ref == 'refs/heads/main'
3634
uses: ./.github/workflows/run_publish_maven.yml
3735
secrets: inherit
3836
permissions:

0 commit comments

Comments
 (0)