Skip to content

1.0.18 (#22)

1.0.18 (#22) #27

Workflow file for this run

name: Publish to Maven Central
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
- name: Grant execute permissions for gradlew
run: chmod +x ./gradlew
- name: Publish to Maven Central
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
run: ./gradlew publish -x test --no-configuration-cache --no-daemon --no-build-cache --no-parallel