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 f0fcdb0 commit 9cd7278Copy full SHA for 9cd7278
src/main.ts
@@ -1,11 +1,11 @@
1
import { info, setFailed, getInput, warning } from '@actions/core'
2
import { join as path } from 'path'
3
-import { execFileSync } from 'child_process'
+import { execFile } from 'child_process'
4
5
try {
6
checkInputs()
7
- const output = execFileSync(path(__dirname, 'entrypoint.sh'))
8
- info(output.toString())
+ execFile(path(__dirname, 'entrypoint.sh'))
+ .stdout?.on('data', data => info(data.toString()))
9
} catch (err) {
10
console.error(err)
11
setFailed(err instanceof Error ? err.message : err)
0 commit comments