Skip to content

0.5.0

0.5.0 #7

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on:
- ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JVM
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-package: jdk
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
- name: Publish to repository
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
run: ./gradlew -Pversion=${{ github.event.release.tag_name }} publish