guarantee getInputAsArray consistent across runs on separate machines

This commit is contained in:
Aaron Bernard 2023-06-05 17:30:43 -05:00
parent 04f198bf0b
commit f97cfde4d5
No known key found for this signature in database
GPG key ID: C0DC8A57B82618F3

View file

@ -38,7 +38,8 @@ export function getInputAsArray(
.getInput(name, options)
.split("\n")
.map(s => s.replace(/^!\s+/, "!").trim())
.filter(x => x !== "");
.filter(x => x !== "")
.sort();
}
export function getInputAsInt(