Skip to content

Publish Connector Plugin to Gradle Plugin Platform #5

Publish Connector Plugin to Gradle Plugin Platform

Publish Connector Plugin to Gradle Plugin Platform #5

name: Publish Connector Plugin to Gradle Plugin Platform
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out project
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: x64
- name: Set up Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
- name: Validate connector plugin
run: ./gradlew :connector-plugin:validatePlugins
- name: Publish connector plugin
run: ./gradlew :connector-plugin:publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PLUGIN_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PLUGIN_SECRET }}