Skip to content

Commit 561599d

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

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

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

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)