From 6e297619ba33a21ba10086b36262a8141ab470b6 Mon Sep 17 00:00:00 2001 From: Aiman Zafar Date: Tue, 26 Nov 2024 15:33:40 +0500 Subject: [PATCH] Update maven-build.yml --- .github/workflows/maven-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 3b93f2573..ba1845dc5 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -83,12 +83,12 @@ jobs: ls -al /home/aiman/Documents/CI-CD/spring-petclinic/actions-runner/_work/spring-petclinic/spring-petclinic/target/ # Check if the JAR file exists and display a message if not - JAR_PATH="/home/aiman/Documents/CI-CD/spring-petclinic/actions-runner/_work/spring-petclinic/spring-petclinic/target/spring-petclinic-3.3.0-SNAPSHOT.jar" + JAR_PATH="/home/aiman/Documents/CI-CD/spring-petclinic/target/spring-petclinic-3.3.0-SNAPSHOT.jar" if [ ! -f "$JAR_PATH" ]; then - echo "JAR file not found at $JAR_PATH" - exit 1 + echo "JAR file not found at $JAR_PATH" + exit 1 else - echo "JAR file found at $JAR_PATH" + echo "JAR file found at $JAR_PATH" fi - name: Setup SSH