Skip to content

Commit

Permalink
Truncate runDir path name
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCane committed Apr 24, 2024
1 parent fdc6583 commit bd5d9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
Expand Down

0 comments on commit bd5d9f7

Please sign in to comment.