diff --git a/dist/setup/index.js b/dist/setup/index.js index e077f3f6..8058f2dc 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -6480,7 +6480,7 @@ function run() { cacheDistributor.restoreCache(); } } - const matchersPath = path.join(__dirname, '..', '.github'); + const matchersPath = path.join(__dirname, '../..', '.github'); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); } catch (err) { diff --git a/src/setup-python.ts b/src/setup-python.ts index c772c6f5..26320f85 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -35,7 +35,7 @@ async function run() { cacheDistributor.restoreCache(); } } - const matchersPath = path.join(__dirname, '..', '.github'); + const matchersPath = path.join(__dirname, '../..', '.github'); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); } catch (err) { core.setFailed((err as Error).message);