1
0
Files
setup-qemu-action/src/context.ts
T

14 lines
279 B
TypeScript
Raw Normal View History

2022-10-08 18:39:00 +02:00
import * as core from '@actions/core';
export interface Inputs {
image: string;
platforms: string;
}
export function getInputs(): Inputs {
return {
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
platforms: core.getInput('platforms') || 'all'
};
}