Skip to content

Workflow file for this run

name: Publish Keyri checksum checker to Gradle plugins
on:
release:
types: [ published ]
jobs:
publish:
name: Publish plugin
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Publish plugin
run: ./gradlew publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
env:
GRADLE_PUBLISH_VERSION: ${{ github.event.release.tag_name }}