fix version to latest

This commit is contained in:
CrazyMax
2023-03-10 11:09:18 +01:00
parent e8785f775f
commit 008acd5bc6
5 changed files with 12 additions and 8 deletions

View File

@ -8,7 +8,7 @@ export interface Inputs {
export function getInputs(): Inputs {
return {
version: core.getInput('version'),
version: core.getInput('version') || 'latest',
channel: core.getInput('channel'),
context: core.getInput('context')
};

View File

@ -21,7 +21,7 @@ actionsToolkit.run(
const install = new Install({
runDir: runDir,
version: input.version || 'latest',
version: input.version,
channel: input.channel || 'stable',
contextName: input.context || 'setup-docker-action'
});