Skip to content

Commit 27c8e3e

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

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
@@ -168,6 +168,10 @@ jobs:
168168
- name: Build with Maven (JVM)
169169
run: mvn -B formatter:validate install -P'${{steps.set-mvn-profiles.outputs.maven_profiles}}' --file pom.xml
170170

171+
- name: Dependency tree on failure
172+
if: failure()
173+
run: mvn -B dependency:tree -Dverbose
174+
171175
- name: Build with Maven (Native)
172176
run: mvn -B install -Dnative --file pom.xml -P'${{steps.set-mvn-profiles.outputs.maven_profiles}}' -pl '${{inputs.native-modules}}' -amd
173177

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)