AnimalRP/.forgejo/workflows/build.yaml
Soph :3 3e84fc9769
Some checks failed
/ build (push) Failing after 13s
fix the yaml
2024-04-27 21:46:38 +03:00

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