testing new building system
Some checks failed
Java CI with Maven / build (push) Failing after 11m24s
Some checks failed
Java CI with Maven / build (push) Failing after 11m24s
This commit is contained in:
26
.gitea/workflows/build.yml
Normal file
26
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: Java CI with Maven
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up JDK 21
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: 'maven'
|
||||||
|
|
||||||
|
- name: Install Maven
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y maven
|
||||||
|
mvn --version
|
||||||
|
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -B -T 1C -Ddependency.cache=true -Dmaven.artifact.threads=8 -Dkotlin.compiler.incremental=true clean package
|
||||||
|
|
||||||
Reference in New Issue
Block a user