Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

[maven-release-plugin] prepare release 1.0.1 #27

[maven-release-plugin] prepare release 1.0.1

[maven-release-plugin] prepare release 1.0.1 #27

Workflow file for this run

name: Deploy
on:
push:
tags:
- '*.*.*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
- run: mvn -B -U clean deploy -Dsign-artifacts
env:
SONATYPE_USERNAME: ${{ vars.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}