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 024fd50 commit 232d6ad
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: ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
shell: bash

0 comments on commit 232d6ad

Please sign in to comment.