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