[KYUUBI #6768] [CI] skip explicitly setting check-latest to false

# 🔍 Description
## Issue References 🔗

This pull request fixes #

## Describe Your Solution 🔧

- skip explicitly set the parameter `check-latest` of Github action `actions/setup-java` to false, which is its default value.
- docs: https://github.com/actions/setup-java?tab=readme-ov-file#check-latest

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklist 📝

- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6768 from bowenliang123/action-java-latest-false.

Closes #6768

a0ecd4688 [Bowen Liang] update

Authored-by: Bowen Liang <liangbowen@gf.com.cn>
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
This commit is contained in:
Bowen Liang 2024-10-22 16:09:35 +08:00
parent e0a80f2650
commit 1d668ea096
7 changed files with 0 additions and 15 deletions

View File

@ -45,7 +45,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Install modules

View File

@ -46,7 +46,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Get gluten cache date
@ -109,7 +108,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Run Gluten Integration TPC-H/DS Test

View File

@ -41,7 +41,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- run: >-
build/mvn org.apache.rat:apache-rat-plugin:check
-Ptpcds -Pkubernetes-it

View File

@ -94,7 +94,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Setup Maven
@ -153,7 +152,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Cache Engine Archives
@ -217,7 +215,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Build Kyuubi Spark Connectors with Spark-${{ matrix.spark-compile }}
@ -279,7 +276,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Cache Engine Archives
@ -338,7 +334,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Cache Engine Archives
@ -390,7 +385,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Cache Engine Archives
@ -504,7 +498,6 @@ jobs:
distribution: temurin
java-version: 11
cache: 'maven'
check-latest: false
- name: Setup Minikube
run: |
# https://minikube.sigs.k8s.io/docs/start/
@ -559,7 +552,6 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Cache Engine Archives

View File

@ -42,7 +42,6 @@ jobs:
distribution: temurin
java-version: 17
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Build with Maven

View File

@ -52,7 +52,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- name: Publish Snapshot Jar to Nexus - ${{ matrix.branch }}
env:
ASF_USERNAME: ${{ secrets.NEXUS_USER }}

View File

@ -46,7 +46,6 @@ jobs:
distribution: temurin
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven
uses: ./.github/actions/setup-maven
- name: Setup Python 3