Skip to content

Commit

Permalink
Revert "[KYUUBI #4481] Setup and use cached maven in CI jobs"
Browse files Browse the repository at this point in the history
This reverts commit d2a0fe2.
  • Loading branch information
pan3793 committed Apr 12, 2023
1 parent cbde82c commit af82f4d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 23 deletions.
5 changes: 3 additions & 2 deletions .github/actions/setup-mvnd/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
#

name: 'setup-mvnd'
description: 'Setup Maven and Mvnd'
description: 'Setup the maven daemon'
continue-on-error: true
runs:
using: composite
steps:
Expand All @@ -31,5 +32,5 @@ runs:
run: build/mvn -v
shell: bash
- name: Check Mvnd
run: build/mvnd -v || true
run: build/mvnd -v
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
- name: Setup Mvnd
uses: ./.github/actions/setup-mvnd
- name: Check kyuubi modules available
id: modules-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
- name: Setup Mvnd
uses: ./.github/actions/setup-mvnd
- run: >-
build/mvnd org.apache.rat:apache-rat-plugin:check
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Setup Python
Expand Down Expand Up @@ -133,8 +131,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Build and test Kyuubi AuthZ with supported Spark versions
Expand Down Expand Up @@ -181,8 +177,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Build Flink with maven w/o linters
Expand Down Expand Up @@ -229,8 +223,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Build and test Hive with maven w/o linters
Expand Down Expand Up @@ -268,8 +260,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Build and test JDBC with maven w/o linters
Expand Down Expand Up @@ -307,8 +297,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Build and test Trino with maven w/o linters
Expand Down Expand Up @@ -341,8 +329,6 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: Run TPC-DS Tests
Expand Down Expand Up @@ -480,8 +466,6 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Cache Engine Archives
uses: ./.github/actions/cache-engine-archives
- name: zookeeper integration tests
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Build with Maven
run: ./build/mvn clean install ${{ matrix.profiles }} -Dmaven.javadoc.skip=true -V
- name: Upload test logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Maven and Mvnd
- name: Setup Mvnd
uses: ./.github/actions/setup-mvnd
- name: Setup Python 3
uses: actions/setup-python@v4
Expand Down

0 comments on commit af82f4d

Please sign in to comment.