mirror of
https://github.moeyy.xyz/https://github.com/docker/setup-compose-action.git
synced 2025-10-28 01:26:40 +08:00
14 lines
276 B
TypeScript
14 lines
276 B
TypeScript
import * as core from '@actions/core';
|
|
|
|
export interface Inputs {
|
|
version: string;
|
|
cacheBinary: boolean;
|
|
}
|
|
|
|
export async function getInputs(): Promise<Inputs> {
|
|
return {
|
|
version: core.getInput('version'),
|
|
cacheBinary: core.getBooleanInput('cache-binary')
|
|
};
|
|
}
|