Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup and use cached maven in CI jobs #4481

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/actions/setup-mvnd/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
#

name: 'setup-mvnd'
description: 'Setup the maven daemon'
continue-on-error: true
description: 'Setup Maven and Mvnd'
runs:
using: composite
steps:
Expand Down
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 Mvnd
- name: Setup Maven and 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 Mvnd
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- run: >-
build/mvnd org.apache.rat:apache-rat-plugin:check
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ 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 @@ -131,6 +133,8 @@ 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 @@ -182,6 +186,8 @@ 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 @@ -228,6 +234,8 @@ 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 @@ -265,6 +273,8 @@ 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 @@ -302,6 +312,8 @@ 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 @@ -334,6 +346,8 @@ 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 @@ -471,6 +485,8 @@ 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: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ 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 @@ -45,7 +45,7 @@ jobs:
java-version: 8
cache: 'maven'
check-latest: false
- name: Setup Mvnd
- name: Setup Maven and Mvnd
uses: ./.github/actions/setup-mvnd
- name: Setup Python 3
uses: actions/setup-python@v4
Expand Down