From 4c1122cf6a40aa9fe82d865792df8d106d4310f0 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Wed, 16 Oct 2024 15:40:44 +0200 Subject: [PATCH] chore: restore auto-publish, don't run full ci on branch --- .github/workflows/java.yml | 1 - dist/java/build.gradle | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index b0d9c65..d5fdfcf 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -4,7 +4,6 @@ on: push: branches: - stable - - fix/java-ci permissions: contents: read diff --git a/dist/java/build.gradle b/dist/java/build.gradle index 69d4097..7615946 100644 --- a/dist/java/build.gradle +++ b/dist/java/build.gradle @@ -154,7 +154,7 @@ publishing { import com.vanniktech.maven.publish.SonatypeHost mavenPublishing { - publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish! + publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true) signAllPublications() coordinates(project.group, rootProject.name, project.version)