mirror of https://github.com/apache/druid.git
clean install before license checks (#13502)
This commit is contained in:
parent
fda0a1aadd
commit
136322d13b
|
@ -56,28 +56,6 @@ jobs:
|
|||
java-version: ${{ env.java_version }}
|
||||
cache: 'maven'
|
||||
|
||||
- name: license checks
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: ./.github/scripts/license_checks_script.sh
|
||||
|
||||
- name: license checks for hadoop3
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
env:
|
||||
HADOOP_PROFILE: -Phadoop3
|
||||
run: ./.github/scripts/license_checks_script.sh
|
||||
|
||||
- name: analyze dependencies
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: |
|
||||
./.github/scripts/analyze_dependencies_script.sh
|
||||
|
||||
- name: analyze dependencies for hadoop3
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
env:
|
||||
HADOOP_PROFILE: -Phadoop3
|
||||
run: |
|
||||
./.github/scripts/analyze_dependencies_script.sh
|
||||
|
||||
- name: packaging check
|
||||
run: |
|
||||
./.github/scripts/setup_generate_license.sh
|
||||
|
@ -102,6 +80,28 @@ jobs:
|
|||
${MVN} clean install -q -ff -pl '!distribution,!:druid-it-image,!:druid-it-cases' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C &&
|
||||
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}
|
||||
|
||||
- name: license checks
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: ./.github/scripts/license_checks_script.sh
|
||||
|
||||
- name: license checks for hadoop3
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
env:
|
||||
HADOOP_PROFILE: -Phadoop3
|
||||
run: ./.github/scripts/license_checks_script.sh
|
||||
|
||||
- name: analyze dependencies
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: |
|
||||
./.github/scripts/analyze_dependencies_script.sh
|
||||
|
||||
- name: analyze dependencies for hadoop3
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
env:
|
||||
HADOOP_PROFILE: -Phadoop3
|
||||
run: |
|
||||
./.github/scripts/analyze_dependencies_script.sh
|
||||
|
||||
- name: animal sniffer checks
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: ${MVN} animal-sniffer:check --fail-at-end
|
||||
|
|
Loading…
Reference in New Issue