From 56d39e6fa95c2c84828bf61d118a0bb8de1d43bd Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Wed, 26 Oct 2022 00:37:41 -0400 Subject: [PATCH] finish build rest api --- .github/workflows/maven.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 79ccdab8..3916b423 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,22 +22,25 @@ jobs: - name: Build with Maven run: mvn clean compile assembly:single -Dmaven.skip.test=true - #Deployment will fail if there are deployments which did not come from this workflow - - name: Check if existing deployments - run: pkill -f 'java -jar target/defi-data-engine-0.0.1-jar-with-dependencies.jar' +# #Deployment will fail if there are deployments which did not come from this workflow +# - name: Check if existing deployments +# run: pkill -f 'java -jar target/defi-data-engine-0.0.1-jar-with-dependencies.jar' - name: Deploy data engine run: RUNNER_TRACKING_ID="" && java -jar target/defi-data-engine-0.0.1-jar-with-dependencies.jar & - # buildRestAPI: - # runs-on: [ self-hosted ] - # defaults: - # run: - # working-directory: "DeFi-Data-Engine/Rest Application/" + buildRestAPI: + runs-on: [ self-hosted ] + defaults: + run: + working-directory: "DeFi-Data-Engine/Rest Application/" - # steps: - # - uses: actions/checkout@v3 + steps: + - uses: actions/checkout@v3 - # - name: Build with Maven - # run: mvn -B package --file pom.xml + - name: Build with Maven + run: mvn clean compile assembly:single -Dmaven.skip.test=true + + - name: Deploy rest application + run: RUNNER_TRACKING_ID="" && java -jar target/rest-connection-4.3.3-jar-with-dependencies.jar &