Move from Docker to TS/Node
This commit is contained in:
10
src/main.ts
Normal file
10
src/main.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import * as core from '@actions/core'
|
||||
import * as exec from '@actions/exec'
|
||||
|
||||
const cwd = process.env.GITHUB_WORKSPACE || '/github/workspace'
|
||||
|
||||
try {
|
||||
exec.exec('./entrypoint.sh', [], { cwd })
|
||||
} catch (e) {
|
||||
core.setFailed(e)
|
||||
}
|
||||
Reference in New Issue
Block a user