Skip to content

Java CI with Maven

Java CI with Maven #66

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn install -e
- name: Upload artifact
uses: actions/[email protected]
with:
name: PlayerBiomes
path: ./target/PlayerBiomes.jar