Skip to content

Commit e8dac34

Browse files
committed
ci: publish only on release published (remove tag-push trigger for publishing); keep manual dispatch as fallback
1 parent b0eb213 commit e8dac34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
docker compose -f docker-compose.yml down -v || true
6767
6868
- name: Publish to Maven Central
69-
if: ${{ (github.event_name == 'release' && github.event.action == 'published') || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.version != '') }}
69+
if: ${{ (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_dispatch' && github.event.inputs.version != '') }}
7070
env:
7171
# Vanniktech Maven Publish (Central Portal) expects Gradle properties below
7272
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_PORTAL_USERNAME }}

0 commit comments

Comments
 (0)