Skip to content

Commit

Permalink
Print dependency report if failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ripcurlx committed Nov 18, 2021
1 parent c381183 commit 6c37ea6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macOS-latest, windows-2016]
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [ '11', '11.0.3', '15', '15.0.5']
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
steps:
Expand All @@ -35,3 +35,8 @@ jobs:

- name: Build with Gradle
run: ./gradlew build

- name: Print Dependency Verification Report
if: ${{ failure() }}
run: cat build/reports/dependency-verification/*/*.html
shell: bash

0 comments on commit 6c37ea6

Please sign in to comment.