clean install before license checks (#13502)

This commit is contained in:
Tejaswini Bandlamudi 2022-12-06 12:08:03 +05:30 committed by GitHub
parent fda0a1aadd
commit 136322d13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 22 deletions

View File

@ -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