We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6411f38 commit bf3210fCopy full SHA for bf3210f
src/main.ts
@@ -1,10 +1,10 @@
1
import { info, setFailed, getInput, warning } from '@actions/core'
2
import { execFile } from 'child_process'
3
-import { resolve } from 'path'
+import { join } from 'path'
4
5
try {
6
checkInputs()
7
- const child = execFile(resolve('entrypoint.sh'), [], { shell: true })
+ const child = execFile(join(__dirname, 'entrypoint.sh'), [], { shell: true })
8
child.stdout?.pipe(process.stdout)
9
child.stderr?.pipe(process.stderr)
10
} catch (err) {
0 commit comments