Skip to content

Merge pull request #18 from orangain/bump-version-0.6.0-alpha1 #1

Merge pull request #18 from orangain/bump-version-0.6.0-alpha1

Merge pull request #18 from orangain/bump-version-0.6.0-alpha1 #1

Workflow file for this run

name: Deploy to Central Repository
on:
push:
tags:
- '*.*.*'
jobs:
build:
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: Deploy 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 }}