Skip to content

Publish to Gradle Plugin Portal #5

Publish to Gradle Plugin Portal

Publish to Gradle Plugin Portal #5

Workflow file for this run

name: Publish to GitHub Packages
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/[email protected]
- name: Publish package
run: ./gradlew publishPlugins
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}