Skip to content

Commit

Permalink
feat: add dependency check step on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Jan 10, 2024
1 parent 3ee3cc2 commit 389b23c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-for-quarkus-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
- name: Build with Maven (JVM)
run: mvn -B formatter:validate install --file pom.xml

- name: Dependency tree on failure
if: failure()
run: mvn -B dependency:tree -Dverbose

- name: Build with Maven (Native)
run: mvn -B install -Dnative --file pom.xml -pl '${{inputs.native-modules}}' -amd

Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>

Expand All @@ -47,6 +48,7 @@
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
Expand Down

0 comments on commit 389b23c

Please sign in to comment.