Skip to content

Commit bba5323

Browse files
committed
show cpanm log if the step failed
1 parent 18a2565 commit bba5323

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

perl-module-ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ jobs:
8787
- name: Install dependencies
8888
run: |
8989
cpanm --notest --installdeps --with-suggests --with-recommends .
90+
- name: Show cpanm failures
91+
if: ${{ failure() }}
92+
run: |
93+
cat /home/runner/.cpanm/work/*/build.log
9094
- name: Run tests
9195
run: |
9296
perl Makefile.PL

0 commit comments

Comments
 (0)