mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-04-24 08:20:02 +02: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')
|
|
};
|
|
}
|