Merge branch 'main' of https://github.com/potzplitz/ExtremeDemonList
This commit is contained in:
commit
e294a4b563
1 changed files with 2 additions and 9 deletions
11
.github/workflows/maven.yml
vendored
11
.github/workflows/maven.yml
vendored
|
@ -25,15 +25,8 @@ jobs:
|
||||||
- name: Build Java project with Maven
|
- name: Build Java project with Maven
|
||||||
run: mvn clean package
|
run: mvn clean package
|
||||||
|
|
||||||
- name: Check if JAR files exist
|
|
||||||
run: |
|
|
||||||
if [ ! -d "target" ] || [ -z "$(ls -A target/*.jar)" ]; then
|
|
||||||
echo "No JAR files found in target directory or target directory does not exist."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Create builds directory
|
- name: Create builds directory
|
||||||
run: mkdir -p builds
|
run: mkdir -p builds
|
||||||
|
|
||||||
- name: Copy built JAR files
|
- name: Copy all contents of target directory
|
||||||
run: cp -r target/*.jar builds/
|
run: cp -r /home/runner/work/ExtremeDemonList/ExtremeDemonList/builds/ExtremeDemonList-0.0.1-SNAPSHOT.jar builds/
|
||||||
|
|
Loading…
Reference in a new issue