From bb01e37af0c88ad1874f55ff4844dfe54f1df2bf Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 10:36:29 -0700 Subject: [PATCH] Fix Lucene-snapshots repo for jdk 17. (#3396) (#3404) Signed-off-by: Marc Handalian (cherry picked from commit 704600871c72dfbd2f99d825100a862296ea7952) Co-authored-by: Marc Handalian --- .github/workflows/lucene-snapshots.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lucene-snapshots.yml b/.github/workflows/lucene-snapshots.yml index 0fe025ad1aa16..78e7b7b269cf4 100644 --- a/.github/workflows/lucene-snapshots.yml +++ b/.github/workflows/lucene-snapshots.yml @@ -40,6 +40,10 @@ jobs: echo "::set-output name=REVISION::$(git rev-parse --short HEAD)" id: version + - name: Initialize gradle settings + working-directory: ./lucene + run: ./gradlew localSettings + - name: Publish Lucene to local maven repo. working-directory: ./lucene run: ./gradlew publishJarsPublicationToMavenLocal -Pversion.suffix=snapshot-${{ steps.version.outputs.REVISION }}