Update maven.yml

This commit is contained in:
potzplitz 2024-03-03 02:40:49 +01:00 committed by GitHub
parent 80c2979ce4
commit 7232ec5668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,13 +25,6 @@ jobs:
- name: Build Java project with Maven
run: mvn clean package
- name: Check if JAR files exist
run: |
if ! [ -d "target" ] || ! [ "$(ls -A target/*.jar 2>/dev/null)" ]; then
echo "No JAR files found in target directory or target directory does not exist."
exit 1
fi
- name: Create builds directory
run: mkdir -p builds