Skip to content

Commit 371fbe6

Browse files
committed
Filter out perl 5.6 from versions returned by perl_versions
1 parent cfd7117 commit 371fbe6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/linux.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ jobs:
1919
shell: perl {0}
2020
run: |
2121
use Actions::Core;
22-
set_output(matrix => {perl => [perl_versions()]});
22+
23+
print "Version available\n";
24+
my @versions = perl_versions();
25+
for my $v (@versions) {
26+
print "\t$v\n";
27+
}
28+
# Don't want anything less then 5.8
29+
@versions = grep { ! /5\.6\.*/ } @versions
30+
set_output(matrix => {perl => [@ersions]});
2331
outputs:
2432
matrix: ${{ steps.set-matrix.outputs.matrix }}
2533

0 commit comments

Comments
 (0)