Skip to content

Commit 19f0a49

Browse files
committed
minor fix workflow
1 parent 53dc0e5 commit 19f0a49

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/bootjar_testing.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,10 @@ jobs:
3030
- name: Build bootable JAR (skip tests)
3131
run: ./gradlew bootJar -x test
3232

33-
- name: Find JAR file
34-
id: find-jar
35-
run: |
36-
echo "JAR_PATH=$(find build/libs -name '*.jar' | head -n 1)" >> $GITHUB_ENV
37-
3833
- name: Run JAR with auto-input
3934
shell: bash
4035
run: |
41-
echo -e "\n\n\n\n\n\nok\nyes" | java -jar "$JAR_PATH" &
36+
echo -e "\n\n\n\n\n\nok\nyes" | java -jar build/libs/wap-server.jar &
4237
echo $! > server.pid
4338
sleep 20 # Give the server time to start
4439

0 commit comments

Comments
 (0)