Skip to content

Commit

Permalink
Merge pull request #68 from MatthewCane/truncate-rundir-path-name
Browse files Browse the repository at this point in the history
truncate runDir path name
  • Loading branch information
crazy-max committed Apr 25, 2024
2 parents 0f5a011 + 0cb459c commit b74351a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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 b74351a

Please sign in to comment.