setup-php/src/matchers.ts
2019-11-24 16:35:21 +00:00

11 lines
366 B
TypeScript

import * as path from 'path';
/**
* Add matches using the Actions Toolkit problem matchers syntax
* https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
*/
export function addMatchers(): void {
const matchersPath = path.join(__dirname, '..', '.github/matchers');
console.log(`##[add-matcher]${path.join(matchersPath, 'phpunit.json')}`);
}