parent
3862373cbc
commit
0eccd4f1e2
21
.forgejo/workflows/build.yaml
Normal file
21
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
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
|
Loading…
Reference in a new issue