lobby/.forgejo/workflows/build.yaml
Soph :3 f55ae746be
All checks were successful
/ build (push) Successful in 51s
compile with JDK 21
2024-05-06 18:29:01 +03:00

21 lines
627 B
YAML

on: [push]
jobs:
build:
runs-on: node-16
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set up JDK 21
uses: https://github.com/actions/setup-java@v4
with:
java-version: '21'
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