git-auto-commit-action/index.js
2020-02-11 20:50:33 +01:00

14 lines
226 B
JavaScript

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