Skip to content

Fixed Github Actions, updated Maven Wrapper Version. #6

Fixed Github Actions, updated Maven Wrapper Version.

Fixed Github Actions, updated Maven Wrapper Version. #6

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
ref: master
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 21
server-id: github
- name: Configure Git user
run: |
git config user.email "[email protected]"
git config user.name "Kai Saborowski"
chmod +x mvnw
- name: Publish JAR
run: ./mvnw -B release:prepare release:perform
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}