test 3
Some checks failed
Maven Build / build (push) Failing after 9m45s

This commit is contained in:
rattatwinko
2025-05-09 17:21:30 +02:00
parent e850574324
commit 2906ae06e7

View File

@@ -1,8 +1,8 @@
name: Build MOTD name: Maven Build
on: on:
push: push:
branches: [ main, master ] branches: [ main, master, dev ]
pull_request: pull_request:
branches: [ main, master ] branches: [ main, master ]
workflow_dispatch: workflow_dispatch:
@@ -31,12 +31,20 @@ jobs:
fi fi
mvn --version mvn --version
- name: Build with Maven - name: List project structure
run: mvn -B clean package run: |
echo "Project structure:"
find . -type f -name "*.kt" | sort
find . -type d | sort
- name: Upload artifact - name: Build MOTD (MOTD)
run: |
echo "Building MOTD from pom.xml"
cd && mvn -B clean package -Dmaven.compiler.failOnError=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
- name: Upload MOTD artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: MOTD name: MOTD
path: target/MOTD-*.jar path: ./target/MOTD-*.jar
if-no-files-found: error if-no-files-found: error