From ae4a2021cafeba0674753469ade14a46caa691ba Mon Sep 17 00:00:00 2001 From: lcj1204 Date: Tue, 30 Apr 2024 15:29:30 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20Run=20step=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 354bf2e..d5cbf2e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -50,29 +50,28 @@ jobs: run: ./gradlew clean pothole-core:test - name: Pothole [Manager] Module Build with Gradle - run: ./gradlew clean pothole-manager-api:bootJar -x test + run: ./gradlew pothole-manager-api:bootJar -x test - name: Pothole [Manager] Module test - run: ./gradlew clean pothole-manager-api:test + run: ./gradlew pothole-manager-api:test - name: Pothole [Worker] Module Build with Gradle - run: ./gradlew clean pothole-worker-api:bootJar -x test + run: ./gradlew pothole-worker-api:bootJar -x test - name: Pothole [Worker] Module test - run: ./gradlew clean pothole-worker-api:test + run: ./gradlew pothole-worker-api:test + + - name: 디렉토리 출력 + run: | + cd ./pothole-manager-api/build/libs/ + ls -l - name: Manager 모듈 실행 if: (contains(github.head_ref, 'manager') || contains(github.head_ref, 'core')) run: | - cd ./pothole-manager-api - ls -l - - java -Dspring.profiles.active=manager-dev -jar /build/libs/*.jar + java -Dspring.profiles.active=manager-dev -jar pothole-manager-api/build/libs/*.jar - name: worker 모듈 실행 if: (contains(github.head_ref, 'worker') || contains(github.head_ref, 'core')) run: | - cd ./pothole-worker-api - ls -l - - java -Dspring.profiles.active=worker-dev -jar /build/libs/*.jar \ No newline at end of file + java -Dspring.profiles.active=worker-dev -jar pothole-manager-api/build/libs/*.jar \ No newline at end of file