Update maven.yml
This commit is contained in:
parent
4341e70d04
commit
80c2979ce4
1 changed files with 1 additions and 1 deletions
2
.github/workflows/maven.yml
vendored
2
.github/workflows/maven.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
|
||||
- name: Check if JAR files exist
|
||||
run: |
|
||||
if [ ! -d "target" ] || [ -z "$(ls -A target/*.jar)" ]; then
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue