diff --git a/src/main.ts b/src/main.ts index d9cf10e..f05a17c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ actionsToolkit.run( // main async () => { const input: context.Inputs = context.getInputs(); - const runDir = path.join(os.homedir(), `setup-docker-action-${uuid.v4()}`); + const runDir = path.join(os.homedir(), `setup-docker-action-${uuid.v4().slice(0,8)}`); if (input.context == 'default') { throw new Error(`'default' context cannot be used.`);