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 55 description : " List all Perl versions since this (including this). Example: 5.10"
66 type : string
77 required : true
8- to -perl :
8+ until -perl :
99 description : " List all Perl versions up to this (including this). Example: 5.30"
1010 type : string
1111 required : false
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ let available = [
1212
1313try {
1414 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 ;
1717 const with_devel = core . getInput ( 'with-devel' ) == "true" ;
1818
1919 let filtered = available . filter (
2323 }
2424 const version = semver . coerce ( item ) ;
2525 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 ) ;
2727 return meetsLowerBound && meetsUpperBound ;
2828 }
2929 ) ;
You can’t perform that action at this time.
0 commit comments