setup-php/src/matchers.ts

11 lines
366 B
TypeScript
Raw Normal View History

2019-11-24 23:35:21 +07:00
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')}`);
}