From a5fa01fcf77ab2d04e4775e72ebea4628d4bf0ca Mon Sep 17 00:00:00 2001 From: Michael Edgar Date: Wed, 22 Mar 2023 17:12:38 -0400 Subject: [PATCH] Publish the Gradle plugin during release workflow Signed-off-by: Michael Edgar --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c400d3b7e..425540b97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,13 +54,12 @@ jobs: git push git push --tags - # TODO requires the GRADLE_PUBLISH_KEY + GRADLE_PUBLISH_SECRET secrets - via https://plugins.gradle.org/user/login (IIRC) - #- name: gradle release ${{steps.metadata.outputs.current-version}} - # uses: gradle/gradle-build-action@v2 - # with: - # build-root-directory: ./tools/gradle-plugin - # cache-read-only: true - # arguments: publishPlugins -Pgradle.publish.key=${{secrets.GRADLE_PUBLISH_KEY}} -Pgradle.publish.secret=${{secrets.GRADLE_PUBLISH_SECRET}} + - name: Gradle plugin release ${{steps.metadata.outputs.current-version}} + uses: gradle/gradle-build-action@v2 + with: + build-root-directory: ./tools/gradle-plugin + cache-read-only: true + arguments: publishPlugins -Pgradle.publish.key=${{secrets.GRADLE_PUBLISH_KEY}} -Pgradle.publish.secret=${{secrets.GRADLE_PUBLISH_SECRET}} - uses: actions/upload-artifact@v3 name: tck-report