Skip to content

Setup automatic publishing #1

Setup automatic publishing

Setup automatic publishing #1

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish_gradle:
name: Publish to gradle portal
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/[email protected]
with:
java-version: 8
cache: 'gradle'
distribution: 'temurin'
- name: build
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
run: ./gradlew publishPlugin