From ffb9532d61a0c1b52e7b77f13e1251e6ce366fad Mon Sep 17 00:00:00 2001 From: Yikf Date: Wed, 26 Oct 2022 10:23:26 +0800 Subject: [PATCH] [KYUUBI #3692] [INFRA] Upgrade actions/setup-java to v3 with temurin distribution ### _Why are the changes needed?_ Close https://github.com/apache/incubator-kyuubi/issues/3692 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3694 from Yikf/upgrade-GA. Closes #3692 3fd2a326 [Yikf] Upgrade actions/setup-java to v3 Authored-by: Yikf Signed-off-by: Cheng Pan --- .github/workflows/dep.yml | 4 ++-- .github/workflows/license.yml | 4 ++-- .github/workflows/master.yml | 32 +++++++++++++------------- .github/workflows/nightly.yml | 4 ++-- .github/workflows/publish-snapshot.yml | 4 ++-- .github/workflows/style.yml | 4 ++-- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index c4e590e6bf5..da88fa61d33 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -37,9 +37,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: setup java - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 58d160d3e62..f5731d9e663 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -36,9 +36,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 096d93d9e55..eca6ef1577a 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -69,9 +69,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -116,9 +116,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -160,9 +160,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -204,9 +204,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -239,9 +239,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -274,9 +274,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false @@ -304,9 +304,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false @@ -421,9 +421,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{ matrix.java }} cache: 'maven' check-latest: false diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0381bf0e5f2..4c3d9b47578 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -37,9 +37,9 @@ jobs: - name: Tune Runner VM uses: ./.github/actions/tune-runner-vm - name: Setup JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index a52cb23ae03..5f6fb784b35 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -46,9 +46,9 @@ jobs: with: ref: ${{ matrix.branch }} - name: Setup JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 48f112b36bc..6307a60a0bd 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -39,9 +39,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 cache: 'maven' check-latest: false