test 4
Some checks failed
Maven Build / build (push) Has been cancelled

This commit is contained in:
rattatwinko
2025-05-09 17:32:17 +02:00
parent 2906ae06e7
commit 2d7c942c32

View File

@@ -31,20 +31,27 @@ jobs:
fi
mvn --version
- name: List project structure
- name: Debug Info
run: |
echo "Current directory: $(pwd)"
echo "Project structure:"
find . -type f -name "*.kt" | sort
find . -type d | sort
find . -type f -name "pom.xml"
echo "Maven version: $(mvn --version)"
- 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
echo "Current directory: $(pwd)"
# Navigate to the POM directory
cd
echo "Changed to directory: $(pwd)"
# Run Maven build
mvn -B clean package -Dmaven.compiler.failOnError=true
- name: Upload MOTD artifact
uses: actions/upload-artifact@v3
with:
name: MOTD
path: ./target/MOTD-*.jar
path: /target/MOTD-*.jar
if-no-files-found: error