lobby/.forgejo/workflows/build.yaml

21 lines
627 B
YAML
Raw Normal View History

2024-05-06 10:50:30 +00:00
on: [push]
jobs:
build:
runs-on: node-16
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set up JDK 22
uses: https://github.com/actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v5
with:
maven-version: 3.8.7
- name: Build with Maven
run: mvn package
- uses: https://github.com/actions/upload-artifact@v3
with:
path: target/lobby-1.0-SNAPSHOT-jar-with-dependencies.jar