Skip to content

Publish Plugin to Maven #15

Publish Plugin to Maven

Publish Plugin to Maven #15

Workflow file for this run

name: Publish Plugin to Maven
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Deploy
run: ./gradlew build publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_URL: ${{ secrets.MAVEN_URL }}