mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Update master with dependabot fixes
This commit is contained in:
parent
4bec33ae89
commit
ae23cbb7c2
4 changed files with 3389 additions and 3407 deletions
|
@ -271,7 +271,7 @@ function normalizeVersion(version: string): string {
|
|||
if (version.indexOf('.') == -1) {
|
||||
version = version.slice(0, version.length - 3) + '.0.0-ea';
|
||||
}
|
||||
// match anything in -ea.X (semver won't do .x matching on pre-release versions)
|
||||
// match anything in -ea.X (semver won't do .x matching on pre-release versions)
|
||||
if (version[0] >= '0' && version[0] <= '9') {
|
||||
version = '>=' + version;
|
||||
}
|
||||
|
@ -281,6 +281,6 @@ function normalizeVersion(version: string): string {
|
|||
version = version + '.x';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return version;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue