Skip to content

Commit

Permalink
finish build rest api
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsk4 authored Oct 26, 2022
1 parent 7c3e0fb commit 56d39e6
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &

0 comments on commit 56d39e6

Please sign in to comment.