Tag for Release #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |