Skip to content

Merge branch 'master' of https://github.com/kalencaya/sakura #33

Merge branch 'master' of https://github.com/kalencaya/sakura

Merge branch 'master' of https://github.com/kalencaya/sakura #33

Workflow file for this run

name: Release
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
cache: maven
server-id: sonatype-nexus
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET }}
gpg-passphrase: GPG_PASSWORD
- name: Publish to Sonatype Nexus
run: ./mvnw -B -U -T 4 clean deploy -Poss-release -DskipTests -Dgpg.passphrase=${{ secrets.GPG_PASSWORD }}
env:
OSSRH_USERNAME: ${{ secrets.SONATYPE_USER }}
OSSRH_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}