This commit is contained in:
@@ -31,20 +31,27 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
mvn --version
|
mvn --version
|
||||||
|
|
||||||
- name: List project structure
|
- name: Debug Info
|
||||||
run: |
|
run: |
|
||||||
|
echo "Current directory: $(pwd)"
|
||||||
echo "Project structure:"
|
echo "Project structure:"
|
||||||
find . -type f -name "*.kt" | sort
|
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)
|
- name: Build MOTD (MOTD)
|
||||||
run: |
|
run: |
|
||||||
echo "Building MOTD from pom.xml"
|
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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user