chore: Bump org.apache.maven.plugins:maven-jar-plugin from 3.2.2 to 3… #22
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: Java Semantic Release | |
on: | |
push: | |
branches: | |
- master | |
workflow_call: | |
jobs: | |
build-upload-release: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 16 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Setup Node.js and semantic-release plugins | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
- run: npm install -g semantic-release @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec semantic-release/git semantic-release/release-notes-generator | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: chmod +x ./.github/workflows/prepare-release.sh && npx semantic-release |