Skip to content

Publish Gradle Plugin to Gradle Plugin Portal #5

Publish Gradle Plugin to Gradle Plugin Portal

Publish Gradle Plugin to Gradle Plugin Portal #5

Workflow file for this run

name: Publish Gradle Plugin to Gradle Plugin Portal
on:
workflow_dispatch:
jobs:
publish-gradle-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Publish
run: ./gradlew publishPlugins
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}