diff --git a/.github/workflows/test_unreleased.yml b/.github/workflows/test_unreleased.yml index c502bf0d..7cf27432 100644 --- a/.github/workflows/test_unreleased.yml +++ b/.github/workflows/test_unreleased.yml @@ -50,10 +50,16 @@ jobs: path: opensearch/distribution/archives/linux-tar/build/distributions key: ${{ steps.get-key.outputs.key }} + - uses: actions/setup-java@v4 + if: steps.cache-restore.outputs.cache-hit != 'true' + with: + distribution: "temurin" + java-version: "21" + - name: Assemble OpenSearch if: steps.cache-restore.outputs.cache-hit != 'true' working-directory: opensearch - run: ./gradlew :distribution:archives:linux-tar:assemble + run: ./gradlew :distribution:archives:linux-tar:assemble --warning-mode none - name: Save cached build if: steps.cache-restore.outputs.cache-hit != 'true'