diff --git a/action.yml b/action.yml index 4988a84..f6b6077 100644 --- a/action.yml +++ b/action.yml @@ -36,8 +36,8 @@ inputs: default: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> runs: - using: 'docker' - image: 'Dockerfile' + using: 'node12' + main: 'index.js' branding: icon: 'git-commit' diff --git a/index.js b/index.js new file mode 100644 index 0000000..abba6b7 --- /dev/null +++ b/index.js @@ -0,0 +1,13 @@ +const core = require('@actions/core'); +const exec = require('@actions/exec'); + +async function run() { + try { + await exec.exec('sh', ['entrypoint.sh']); + } + catch (error) { + core.setFailed(error.message); + } +} + +run()