From b8dc1cd9b2e0ae5aa2cf41b8b72edd0126b792d9 Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Sun, 17 Nov 2024 20:31:28 +0800 Subject: [PATCH] Decentralize JDK setup (#13) --- .github/workflows/ci-cd.yml | 9 +++++---- .../org/qubitpi/wilhelm/web/endpoints/Neo4JServlet.java | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 496c29f..0185b24 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -67,9 +67,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK - uses: QubitPi/jersey-webservice-deployment-actions/.github/actions/jdk-setup@master - - name: Set up Docker for Integration Tests - uses: docker-practice/actions-setup-docker@master + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: ${{ env.JDK_VERSION }} + distribution: ${{ env.JDK_DISTRIBUTION }} - name: Run unit & integration tests run: mvn -B clean verify diff --git a/src/main/java/org/qubitpi/wilhelm/web/endpoints/Neo4JServlet.java b/src/main/java/org/qubitpi/wilhelm/web/endpoints/Neo4JServlet.java index 7308cf7..63d9715 100644 --- a/src/main/java/org/qubitpi/wilhelm/web/endpoints/Neo4JServlet.java +++ b/src/main/java/org/qubitpi/wilhelm/web/endpoints/Neo4JServlet.java @@ -347,7 +347,6 @@ RETURN path, length(path) AS hops .build(); } - /** * Runs a cypher query against Neo4J database and return the query result unmodified. *