mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-16 17:56:56 +00:00
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
47c365107c
commit
e99ab50e6c
20 changed files with 2552 additions and 40207 deletions
|
@ -39,14 +39,14 @@ export function getInputs(): Inputs {
|
|||
}
|
||||
|
||||
export function getInputList(name: string, ignoreComma?: boolean): string[] {
|
||||
let res: Array<string> = [];
|
||||
const res: Array<string> = [];
|
||||
|
||||
const items = core.getInput(name);
|
||||
if (items == '') {
|
||||
return res;
|
||||
}
|
||||
|
||||
for (let output of csvparse(items, {
|
||||
for (const output of csvparse(items, {
|
||||
columns: false,
|
||||
relax: true,
|
||||
comment: '#',
|
||||
|
@ -73,6 +73,6 @@ export const asyncForEach = async (array, callback) => {
|
|||
};
|
||||
|
||||
// FIXME: Temp fix https://github.com/actions/toolkit/issues/777
|
||||
export function setOutput(name: string, value: any): void {
|
||||
export function setOutput(name: string, value: unknown): void {
|
||||
issueCommand('set-output', {name}, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue