File tree Expand file tree Collapse file tree
.github/actions/cpan-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 JSON::PP \
5858 Test::Harness
5959
60+ - name : Show toolchain versions [Windows]
61+ if : startsWith(inputs.os, 'windows')
62+ shell : pwsh
63+ run : |
64+ perl -MExtUtils::MakeMaker -e "print qq(ExtUtils::MakeMaker $ExtUtils::MakeMaker::VERSION\n)"
65+ perl -MCPAN::Meta -e "print qq(CPAN::Meta $CPAN::Meta::VERSION\n)"
66+ perl -MParse::CPAN::Meta -e "print qq(Parse::CPAN::Meta $Parse::CPAN::Meta::VERSION\n)"
67+
6068 - name : Install modules
6169 run : |
6270 cpanm --notest --with-configure --with-develop --no-man-pages --installdeps .
@@ -102,15 +110,15 @@ runs:
102110 shell : ${{ startsWith(inputs.os, 'windows') && 'powershell' || 'bash' }}
103111
104112 - name : Archive CPAN logs on Windows
105- if : ${{ failure() && inputs.os == 'windows-latest ' }}
113+ if : ${{ failure() && startWith( inputs.os, 'windows' }}
106114 uses : actions/upload-artifact@v5
107115 with :
108116 name : cpan_log-results-${{ github.run_id }}-${{ github.job }}
109117 path : C:\Users\RUNNER~1\.cpanm\work\*\build.log
110118 retention-days : 5
111119
112120 - name : Archive CPAN logs on Unix
113- if : ${{ failure() && inputs.os != 'windows-latest ' }}
121+ if : ${{ failure() && !startsWith( inputs.os, 'windows' }}
114122 uses : actions/upload-artifact@v5
115123 with :
116124 name : cpan_log-results-${{ github.run_id }}-${{ github.job }}
You can’t perform that action at this time.
0 commit comments