Skip to content

v1.0.0-M1

v1.0.0-M1 #137

Workflow file for this run

name: Release
on:
release:
types:
- released
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 14
server-id: ossrh
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
gpg-private-key: ${{ secrets.PGP_SECRET }}
gpg-passphrase: PGP_PASSPHRASE
- name: print Java version
run: java -version
- name: Build with Maven
env:
PGP_KEYID: ${{ secrets.PGP_KEYID }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: |
mvn -B --no-transfer-progress clean deploy -Possrh
git diff pom.xml
git checkout pom.xml