Files
add-and-commit/src/main.ts
2019-12-10 20:50:40 +01:00

11 lines
228 B
TypeScript

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)
}