Skip to content

Commit 389b23c

Browse files
committed
feat: add dependency check step on failure
Signed-off-by: Chris Laprun <[email protected]>
1 parent 3ee3cc2 commit 389b23c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build-for-quarkus-version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
- name: Build with Maven (JVM)
6767
run: mvn -B formatter:validate install --file pom.xml
6868

69+
- name: Dependency tree on failure
70+
if: failure()
71+
run: mvn -B dependency:tree -Dverbose
72+
6973
- name: Build with Maven (Native)
7074
run: mvn -B install -Dnative --file pom.xml -pl '${{inputs.native-modules}}' -amd
7175

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
3939
<snapshots>
4040
<enabled>true</enabled>
41+
<updatePolicy>never</updatePolicy>
4142
</snapshots>
4243
</repository>
4344

@@ -47,6 +48,7 @@
4748
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
4849
<snapshots>
4950
<enabled>true</enabled>
51+
<updatePolicy>never</updatePolicy>
5052
</snapshots>
5153
</repository>
5254
</repositories>

0 commit comments

Comments
 (0)