mirror of
https://github.moeyy.xyz/https://github.com/docker/setup-docker-action.git
synced 2025-10-27 18:38:51 +08:00
16 lines
310 B
TypeScript
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')
|
|
};
|
|
}
|