mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-23 07:09:07 +07:00
Add problem matcher for PHP native errors
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -964,9 +964,10 @@ const io = __importStar(__webpack_require__(1));
|
||||
*/
|
||||
function addMatchers() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const config_path = path.join(__dirname, '..', 'src', 'configs', 'phpunit.json');
|
||||
const config_path = path.join(__dirname, '..', 'src', 'configs');
|
||||
const runner_dir = yield utils.getInput('RUNNER_TOOL_CACHE', false);
|
||||
yield io.cp(config_path, runner_dir);
|
||||
yield io.cp(path.join(config_path, 'phpunit.json'), runner_dir);
|
||||
yield io.cp(path.join(config_path, 'php.json'), runner_dir);
|
||||
});
|
||||
}
|
||||
exports.addMatchers = addMatchers;
|
||||
|
Reference in New Issue
Block a user