git-auto-commit-action/index.js

14 lines
226 B
JavaScript
Raw Normal View History

2020-02-12 03:50:33 +08: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()