Skip to content

Commit

Permalink
Publish the Gradle plugin during release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <michael@xlate.io>
  • Loading branch information
MikeEdgar committed Mar 22, 2023
1 parent e75ad93 commit a5fa01f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5fa01f

Please sign in to comment.