diff --git a/src/main.ts b/src/main.ts index a3c66a0..dc09cc1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,7 +53,7 @@ export async function run() { } // add problem matchers - const matchersPath = path.join(__dirname, '../..', 'matchers.json'); + const matchersPath = path.join(process.cwd(), 'matchers.json'); core.info(`##[add-matcher]${matchersPath}`); // output the version actually being used