File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
description : " List all Perl versions since this (including this). Example: 5.10"
6
6
type : string
7
7
required : true
8
- to -perl :
8
+ until -perl :
9
9
description : " List all Perl versions up to this (including this). Example: 5.30"
10
10
type : string
11
11
required : false
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ let available = [
12
12
13
13
try {
14
14
const since_perl = semver . coerce ( core . getInput ( 'since-perl' ) ) ;
15
- const to_perl_input = core . getInput ( 'to -perl' ) ;
16
- const to_perl = to_perl_input ? semver . coerce ( to_perl_input ) : null ;
15
+ const until_perl_input = core . getInput ( 'until -perl' ) ;
16
+ const until_perl = until_perl_input ? semver . coerce ( until_perl_input ) : null ;
17
17
const with_devel = core . getInput ( 'with-devel' ) == "true" ;
18
18
19
19
let filtered = available . filter (
23
23
}
24
24
const version = semver . coerce ( item ) ;
25
25
const meetsLowerBound = semver . gte ( version , since_perl ) ;
26
- const meetsUpperBound = ! to_perl || semver . lte ( version , to_perl ) ;
26
+ const meetsUpperBound = ! until_perl || semver . lte ( version , until_perl ) ;
27
27
return meetsLowerBound && meetsUpperBound ;
28
28
}
29
29
) ;
You can’t perform that action at this time.
0 commit comments