Skip to content

Commit d5779eb

Browse files
committed
Install compiled artifacts
Multi-Release JARs are causing error_prone/javadoc/surefire to use the latest compilation unit while resolving dependencies for other modules.
1 parent be9dfef commit d5779eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Maven Checks
8383
run: |
8484
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
85-
$MAVEN clean verify -B --strict-checksums -V -T 1C -DskipTests -P ci
85+
$MAVEN clean install verify -B --strict-checksums -V -T 1C -DskipTests -P ci
8686
- name: Remove Trino from local Maven repo to avoid caching it
8787
# Avoid caching artifacts built in this job, cache should only include dependencies
8888
if: steps.cache.outputs.cache-hit != 'true' && matrix.cache == 'true'
@@ -197,7 +197,7 @@ jobs:
197197
run: |
198198
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
199199
# Skip checks, these are run in `maven-checks` job and e.g. checkstyle is expensive.
200-
$MAVEN ${MAVEN_TEST} -T 1C clean compile test-compile -DskipTests -Dair.check.skip-all=true ${MAVEN_GIB} -Dgib.buildUpstream=never -P errorprone-compiler \
200+
$MAVEN ${MAVEN_TEST} -T 1C clean compile test-compile install -DskipTests -Dair.check.skip-all=true ${MAVEN_GIB} -Dgib.buildUpstream=never -P errorprone-compiler \
201201
-pl '!:trino-docs,!:trino-server'
202202
203203
test-jdbc-compatibility:
@@ -328,7 +328,7 @@ jobs:
328328
- name: Maven Tests
329329
id: tests
330330
run: |
331-
$MAVEN test ${MAVEN_TEST} -pl '
331+
$MAVEN test install ${MAVEN_TEST} -pl '
332332
!:trino-base-jdbc,
333333
!:trino-bigquery,
334334
!:trino-cassandra,

0 commit comments

Comments
 (0)