Skip to content

bump 0.50.3-public

bump 0.50.3-public #57

Workflow file for this run

name: Release
on:
push:
tags:
- "v*public"
- "v*rc*"
- "v*SNAPSHOT"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 8
- name: Setup gpg
run: |
mkdir ~/.gnupg
echo use-agent >> ~/.gnupg/gpg.conf
echo pinentry-mode loopback >> ~/.gnupg/gpg.conf
echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.gpg_private_key }}
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_token_username }}
nexus_password: ${{ secrets.nexus_token_password }}
server_id: ossrh
maven_args: -DskipTests
- name: Release to GitHub packages
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitName: true
artifacts: 'CHANGELOG.md'
token: ${{ secrets.RELEASE_TOKEN }}