action-surefire-report/index.js

11 lines
198 B
JavaScript
Raw Permalink Normal View History

2020-05-11 20:32:03 +08:00
const core = require('@actions/core');
2020-05-19 21:00:21 +08:00
const action = require('./action');
2020-05-11 20:32:03 +08:00
(async () => {
try {
2020-05-19 21:00:21 +08:00
await action();
} catch (error) {
2020-05-11 20:32:03 +08:00
core.setFailed(error.message);
}
2020-05-19 21:00:21 +08:00
})();