2023-03-10 11:09:18 +01:00

16 lines
310 B
TypeScript

import * as core from '@actions/core';
export interface Inputs {
version: string;
channel: string;
context: string;
}
export function getInputs(): Inputs {
return {
version: core.getInput('version') || 'latest',
channel: core.getInput('channel'),
context: core.getInput('context')
};
}