mirror of
https://github.com/actions/cache.git
synced 2025-07-17 12:25:15 -06:00
Merge branch 'main' into fix-cache-hit-output
This commit is contained in:
commit
883f85e649
15 changed files with 4137 additions and 3907 deletions
|
@ -61,8 +61,9 @@ export function getInputAsArray(
|
|||
return core
|
||||
.getInput(name, options)
|
||||
.split("\n")
|
||||
.map(s => s.trim())
|
||||
.filter(x => x !== "");
|
||||
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||
.filter(x => x !== "")
|
||||
.sort();
|
||||
}
|
||||
|
||||
export function getInputAsInt(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue