mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-04-19 23:30:02 +02:00
Truncate runDir path name
This commit is contained in:
parent
fdc6583d4e
commit
81886c7276
@ -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.`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user