From fd1ad2567c1c0647f078ce18d0679c956920c533 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 13:44:46 +0000 Subject: [PATCH] [Backport 2.x] Bump actions/setup-java from 3 to 4 (#3793) Backport 00658914d2b3158d3a46c86cb08622ab8f714380 from #3783. Signed-off-by: dependabot[bot] Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/code-hygiene.yml | 6 +++--- .github/workflows/integration-tests.yml | 2 +- .github/workflows/maven-publish.yml | 2 +- .github/workflows/plugin_install.yml | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4036cd7b8..a98d2c6c24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: separateTestsNames: ${{ steps.set-matrix.outputs.separateTestsNames }} steps: - name: Set up JDK for build and test - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 17 @@ -45,7 +45,7 @@ jobs: steps: - name: Set up JDK for build and test - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }} @@ -93,7 +93,7 @@ jobs: steps: - name: Set up JDK for build and test - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }} @@ -120,7 +120,7 @@ jobs: steps: - name: Set up JDK for build and test - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }} @@ -138,7 +138,7 @@ jobs: backward-compatibility-build: runs-on: ubuntu-latest steps: - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 17 @@ -162,7 +162,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }} @@ -183,7 +183,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 11 @@ -198,7 +198,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 11 diff --git a/.github/workflows/code-hygiene.yml b/.github/workflows/code-hygiene.yml index 8ae3d49605..28fb156c32 100644 --- a/.github/workflows/code-hygiene.yml +++ b/.github/workflows/code-hygiene.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 17 @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 11 @@ -51,7 +51,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 11 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a90fbdf8d8..54431a4afb 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -15,7 +15,7 @@ jobs: test-run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }} diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 1d904020ca..a837289795 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: 11 diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 1a04c469a8..8323620ef9 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -20,7 +20,7 @@ jobs: uses: peternied/random-name@v1 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.jdk }}