17 lines
474 B
YAML
17 lines
474 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: node-16
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
- name: Set up JDK 11
|
|
uses: https://github.com/actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
cache: maven
|
|
- name: Build with Maven
|
|
run: mvn package
|
|
- uses: https://github.com/actions/upload-artifact@v4
|
|
with:
|
|
path: target/animalrp-1.0.0-animalrp.jar |