From 0727fdd07df4ec1ea5620e0044993ae666c8be76 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 14 Sep 2021 18:11:07 +0300 Subject: [PATCH] add minor fix --- dist/setup/index.js | 2 +- src/setup-python.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);