diff --git a/.github/actions/setup-mvnd/action.yaml b/.github/actions/setup-mvnd/action.yaml index dac05c02479..55c8139ff8b 100644 --- a/.github/actions/setup-mvnd/action.yaml +++ b/.github/actions/setup-mvnd/action.yaml @@ -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: @@ -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 diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index 09197951a12..72f5c915da7 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -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 diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index e62605e7f09..a490def9161 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -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 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b8b3f7072ac..8d8eaa00926 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b53a7d29294..149da6d82b3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 2824e597288..6ca1903e11c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -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