Move from Docker to TS/Node

This commit is contained in:
Federico Grandi
2019-12-10 20:50:40 +01:00
parent b1b499b985
commit bfb772f923
5 changed files with 97 additions and 40 deletions

10
src/main.ts Normal file
View 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)
}