AnimalRP/.forgejo/workflows/build.yaml

20 lines
562 B
YAML
Raw Normal View History

2024-04-27 18:38:36 +00:00
on: [push]
jobs:
build:
runs-on: node-16
steps:
- uses: https://github.com/actions/checkout@v4
2024-04-27 18:44:50 +00:00
- name: Set up JDK 17
uses: https://github.com/actions/s
2024-04-27 18:38:36 +00:00
cache: maven
2024-04-27 18:44:50 +00:00
- name: check
run: which mvn
- name: check 2
run: /usr/share/maven/bin/mvn
- name: check 3
run: /usr/local/apache-maven/bin/mvn
2024-04-27 18:38:36 +00:00
- name: Build with Maven
2024-04-27 18:44:50 +00:00
run: mvn package
2024-04-27 18:38:36 +00:00
- uses: https://github.com/actions/upload-artifact@v4
with:
path: target/animalrp-1.0.0-animalrp.jar