Skip to content

Bump java to 21

Bump java to 21 #50

Workflow file for this run

name: Build and Upload
on:
push:
branches:
- "update"
pull_request:
branches:
- "update"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup JAVA 21
uses: actions/[email protected]
with:
java-version: 21
distribution: 'temurin'
- name: Cache Maven Packages
uses: actions/[email protected]
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build
run: mvn -B package --file pom.xml
- name: Upload
uses: actions/[email protected]
with:
name: GriefPrevention
path: target/GriefPrevention-*.jar