Skip to content

Commit

Permalink
merge local, screw VIM Merge branch 'main' of https://github.rpi.edu/…
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsk4 committed Oct 26, 2022
2 parents bf26e82 + 56d39e6 commit 75d55e1
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

jobs:
buildDataEngine:
buildandDeployDataEngine:

runs-on: [ self-hosted ]
defaults:
Expand All @@ -21,16 +21,26 @@ 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'

- 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 75d55e1

Please sign in to comment.