git-auto-commit-action/index.js

14 lines
226 B
JavaScript
Raw Normal View History

2020-02-11 19:50:33 +00:00
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()