From 6f75cbbd204e65ac98f42aec046388328b467e60 Mon Sep 17 00:00:00 2001 From: Thijs Lemmens Date: Fri, 2 Dec 2022 15:03:48 +0100 Subject: [PATCH] Revert "remove the if in the ci when publishing gradle plugin" --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e07ebbf..4b88886b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,7 @@ jobs: ORG_GRADLE_PROJECT_sonatype_password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} run: ./gradlew publish -PsigningKeyId=CDE3528F - name: Publish Gradle Plugin + if: ${{ startswith(github.ref, 'refs/heads/release') }} env: GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PLUGINS_PUBLISH_KEY }} GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PLUGINS_PUBLISH_SECRET }}