Skip to content

Commit f389c11

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

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
@@ -109,6 +109,10 @@ jobs:
109109
- name: Build with Maven (JVM)
110110
run: mvn -B formatter:validate install --file pom.xml
111111

112+
- name: Dependency tree on failure
113+
if: failure()
114+
run: mvn -B dependency:tree -Dverbose
115+
112116
- name: Build with Maven (Native)
113117
run: mvn -B install -Dnative --file pom.xml -pl '${{inputs.native-modules}}' -amd
114118

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)