Skip to content

Commit

Permalink
chmod 777 temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
yylyyl committed Oct 19, 2023
1 parent 75e9666 commit 562d3ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/temp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const io = require('@actions/io')
const path = require('path')
const exec = require('@actions/exec')

let temDirCreated = false

Expand All @@ -8,6 +9,7 @@ async function tempDir() {

if (!temDirCreated) {
await io.mkdirP(tmp)
await exec.exec(await io.which('chmod', true), ['777', tmp])
temDirCreated = true
}

Expand Down

0 comments on commit 562d3ed

Please sign in to comment.