From 621f84326eeee6a9f75008d233474ba16bf51792 Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Tue, 11 Oct 2022 18:43:20 -0400 Subject: [PATCH 01/10] first shot here --- .github/workflows/maven.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..37e3df7a --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,36 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Java CI with Maven + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: [ self-hosted ] + defaults: + run: + working-directory: "DeFi-Data-Engine/DeFi Data Engine/" + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 15 + uses: actions/setup-java@v3 + with: + java-version: '15' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + +# - run: mvn --batch-mode --update-snapshots verify +# - run: mkdir staging && cp target/*.jar staging +# - uses: actions/upload-artifact@v3 +# with: +# name: Package +# path: staging From d5b0dd63d53a1c52323369ba38dbeccd34dcdc65 Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Tue, 11 Oct 2022 18:44:16 -0400 Subject: [PATCH 02/10] take 2 --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 37e3df7a..52a3ee47 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -19,10 +19,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 15 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '15' + java-version: '17' distribution: 'temurin' cache: maven - name: Build with Maven From 50c37d27ba9a6dbc8681a5e36ecd3c4677e00664 Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Tue, 11 Oct 2022 19:18:23 -0400 Subject: [PATCH 03/10] again again --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 52a3ee47..b03c4f85 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,6 +8,7 @@ on: branches: [ main ] pull_request: branches: [ main ] + workflow_dispatch: jobs: build: From 95dcc535a44439fcfe0947f2dd314b55139f55b2 Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Wed, 12 Oct 2022 09:17:13 -0400 Subject: [PATCH 04/10] Update maven.yml --- .github/workflows/maven.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b03c4f85..76663640 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,4 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: Java CI with Maven +name: CI with mvn on: push: @@ -20,12 +17,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven +# - name: Set up JDK 17 +# uses: actions/setup-java@v3 +# with: +# java-version: '17' +# distribution: 'temurin' +# cache: maven - name: Build with Maven run: mvn -B package --file pom.xml From a1073b2523322c99e7e5b06a2fe7190dfb899f6d Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Wed, 12 Oct 2022 09:45:38 -0400 Subject: [PATCH 05/10] Update maven.yml --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 76663640..f6e42008 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,5 +1,7 @@ name: CI with mvn + + on: push: branches: [ main ] From 017644c9bfba4b85564721e132a78e17e18242bd Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Wed, 12 Oct 2022 20:23:16 -0400 Subject: [PATCH 06/10] Update maven.yml --- .github/workflows/maven.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f6e42008..880c4436 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,4 @@ name: CI with mvn - - - on: push: branches: [ main ] From 4ed872ef7c4d6c2c33ea56b996a14f704394d65c Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Sun, 16 Oct 2022 23:32:11 -0400 Subject: [PATCH 07/10] temp change comp version --- DeFi-Data-Engine/DeFi Data Engine/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DeFi-Data-Engine/DeFi Data Engine/pom.xml b/DeFi-Data-Engine/DeFi Data Engine/pom.xml index a1b5e418..818eb093 100644 --- a/DeFi-Data-Engine/DeFi Data Engine/pom.xml +++ b/DeFi-Data-Engine/DeFi Data Engine/pom.xml @@ -55,6 +55,14 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + 1.7 + 1.7 + + From 373178c2ab0886a3def458b5cccea7847d64f72a Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Sun, 16 Oct 2022 23:36:26 -0400 Subject: [PATCH 08/10] revert on last commit --- DeFi-Data-Engine/DeFi Data Engine/pom.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DeFi-Data-Engine/DeFi Data Engine/pom.xml b/DeFi-Data-Engine/DeFi Data Engine/pom.xml index 818eb093..a1b5e418 100644 --- a/DeFi-Data-Engine/DeFi Data Engine/pom.xml +++ b/DeFi-Data-Engine/DeFi Data Engine/pom.xml @@ -55,14 +55,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - - 1.7 - 1.7 - - From 512424f8c6cdc2c40ed2dc3412bd44bd185a812e Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Sun, 16 Oct 2022 23:49:33 -0400 Subject: [PATCH 09/10] temp comp change --- DeFi-Data-Engine/DeFi Data Engine/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DeFi-Data-Engine/DeFi Data Engine/pom.xml b/DeFi-Data-Engine/DeFi Data Engine/pom.xml index a1b5e418..80245552 100644 --- a/DeFi-Data-Engine/DeFi Data Engine/pom.xml +++ b/DeFi-Data-Engine/DeFi Data Engine/pom.xml @@ -55,6 +55,14 @@ + + maven-compiler-plugin + 3.5.2 + + 1.8 + 1.8 + + From 2909996261b8c7e5041a5e905bea822a1f98dfe2 Mon Sep 17 00:00:00 2001 From: "Adams, Kacy" Date: Sun, 16 Oct 2022 23:56:21 -0400 Subject: [PATCH 10/10] Update pom.xml --- DeFi-Data-Engine/DeFi Data Engine/pom.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DeFi-Data-Engine/DeFi Data Engine/pom.xml b/DeFi-Data-Engine/DeFi Data Engine/pom.xml index 80245552..a1b5e418 100644 --- a/DeFi-Data-Engine/DeFi Data Engine/pom.xml +++ b/DeFi-Data-Engine/DeFi Data Engine/pom.xml @@ -55,14 +55,6 @@ - - maven-compiler-plugin - 3.5.2 - - 1.8 - 1.8 - -