From 9bd242533b36525d72c5bc0cbbc9646f90f45506 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Fri, 27 Dec 2024 10:59:16 -0800 Subject: [PATCH] Add publishToMavenLocal for more CI Signed-off-by: Daniel Widdis --- .github/workflows/CI.yml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 00370f45..3f025add 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -56,6 +56,22 @@ jobs: name: Test JDK${{ matrix.java }}, ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: + # TEMPORARY until this is on Maven + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: temurin + - name: Checkout Metadata Client + uses: actions/checkout@v4 + with: + repository: dbwiddis/opensearch-remote-metadata-sdk + ref: main + path: opensearch-remote-metadata-sdk + - name: Publish to maven local + working-directory: opensearch-remote-metadata-sdk + run: ./gradlew publishToMavenLocal + # end TEMPORARY code - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4 @@ -82,6 +98,22 @@ jobs: name: Integ Test JDK${{ matrix.java }}, ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: + # TEMPORARY until this is on Maven + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: temurin + - name: Checkout Metadata Client + uses: actions/checkout@v4 + with: + repository: dbwiddis/opensearch-remote-metadata-sdk + ref: main + path: opensearch-remote-metadata-sdk + - name: Publish to maven local + working-directory: opensearch-remote-metadata-sdk + run: ./gradlew publishToMavenLocal + # end TEMPORARY code - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4 @@ -101,6 +133,22 @@ jobs: name: Multi-Node Integ Test JDK${{ matrix.java }}, ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: + # TEMPORARY until this is on Maven + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: temurin + - name: Checkout Metadata Client + uses: actions/checkout@v4 + with: + repository: dbwiddis/opensearch-remote-metadata-sdk + ref: main + path: opensearch-remote-metadata-sdk + - name: Publish to maven local + working-directory: opensearch-remote-metadata-sdk + run: ./gradlew publishToMavenLocal + # end TEMPORARY code - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4