From 1d668ea096825a24bc813ee9b9ffd760d0b523c1 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Tue, 22 Oct 2024 16:09:35 +0800 Subject: [PATCH] [KYUUBI #6768] [CI] skip explicitly setting check-latest to false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: 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 :bookmark: - [ ] 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 :coffin: #### Behavior With This Pull Request :tada: #### 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 Signed-off-by: Bowen Liang --- .github/workflows/dep.yml | 1 - .github/workflows/gluten.yml | 2 -- .github/workflows/license.yml | 1 - .github/workflows/master.yml | 8 -------- .github/workflows/nightly.yml | 1 - .github/workflows/publish-snapshot-nexus.yml | 1 - .github/workflows/style.yml | 1 - 7 files changed, 15 deletions(-) diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index 9ca1b2fdd72..61e6808f456 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -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 diff --git a/.github/workflows/gluten.yml b/.github/workflows/gluten.yml index 4a362f90bfe..fc01f47e083 100644 --- a/.github/workflows/gluten.yml +++ b/.github/workflows/gluten.yml @@ -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 diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index a583dd7b374..52adbba7f4e 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -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 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 4cbdff10516..adee6bc91d3 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 29a54afddff..afeeeac2e90 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/publish-snapshot-nexus.yml b/.github/workflows/publish-snapshot-nexus.yml index c12a608b0a5..220be472a27 100644 --- a/.github/workflows/publish-snapshot-nexus.yml +++ b/.github/workflows/publish-snapshot-nexus.yml @@ -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 }} diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 02b5d3bde56..74a26c9da0f 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -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