Skip to content

Tag for Release

Tag for Release #9

name: Tag for Release
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Configure Git user
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
- name: Publish JAR
run: mvn -B release:prepare
# env:
# GITHUB_TOKEN: ${{ secrets.PACKAGE_PUBLISH_TOKEN }}
# SIGN_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}