File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 6161 ...
6262 steps:
6363 ...
64+ - uses: perl-actions/ci-perl-tester-helpers/report-perl@main
6465 - uses: perl-actions/ci-perl-tester-helpers/install-test-helper-deps@main
6566 - uses: perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@main
6667 - uses: perl-actions/ci-perl-tester-helpers/build-dist@main
@@ -88,6 +89,31 @@ Install dependencies required by ci-perl-tester-helpers
8889
8990- ` cpm ` - required version min ` 0.997014 `
9091
92+ ## perl-actions/ci-perl-tester-helpers/report-perl@main
93+
94+ Report version and configuration of available Perl
95+
96+ Despite being simple ` perl -V ` (for now) naming it shows intention what
97+ you want to do.
98+
99+ ### Inputs
100+
101+ - ` artifact ` (optional): When specified, output will be written also to this file.
102+
103+ ### Examples
104+
105+ Basic usage:
106+ ``` yaml
107+ - uses : perl-actions/ci-perl-tester-helpers/report-perl@main
108+ ` ` `
109+
110+ Save output to a file:
111+ ` ` ` yaml
112+ - uses : perl-actions/ci-perl-tester-helpers/report-perl@main
113+ with :
114+ artifact : perl-version.txt
115+ ` ` `
116+
91117## perl-actions/ci-perl-tester-helpers/test-dist@main
92118
93119Tests your distribution using ` prove` with `--state save`.
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' perl -V'
3+ inputs :
4+ artifact :
5+ description : ' File name where to save output of command'
6+ required : false
7+ default : ' /dev/null'
8+ runs :
9+ using : " composite"
10+ steps :
11+ - shell : bash
12+ run : |
13+ perl -V | tee "${{ inputs.artifact }}"
You can’t perform that action at this time.
0 commit comments