Skip to content

publish

publish #4

Workflow file for this run

name: "publish"
on: [workflow_dispatch]
jobs:
publish:
name: "publish"
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Validate Gradle Wrapper"
uses: gradle/wrapper-validation-action@v2
- name: "Set up JDK 17"
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
- name: "Publish with Gradle"
uses: gradle/gradle-build-action@v3
with:
arguments: publishPlugins "-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}" "-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}"