Skip to content

Merge pull request #43 from orangain/release-0.7.0 #2

Merge pull request #43 from orangain/release-0.7.0

Merge pull request #43 from orangain/release-0.7.0 #2

Workflow file for this run

name: Publish to Central Repository
on:
push:
tags:
- '*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: production
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Publish to Central Repository
run: ./gradlew sonatypeCentralUpload
env:
SONATYPE_CENTRAL_USERNAME: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
SONATYPE_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
PGP_SIGNING_KEY: ${{ secrets.PGP_SIGNING_KEY }}
PGP_SIGNING_KEY_PASSPHRASE: ${{ secrets.PGP_SIGNING_KEY_PASSPHRASE }}