mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 12:21:07 +07:00
11 lines
366 B
TypeScript
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')}`);
|
||
|
}
|