From cffdfc80c6a50b8eedccac9d20a0821b2798676e Mon Sep 17 00:00:00 2001 From: Nogic <24802730+nogic1008@users.noreply.github.com> Date: Wed, 26 Apr 2023 23:57:40 +0000 Subject: [PATCH] fix: change relative path to problem matcher --- dist/setup/index.js | 2 +- src/setup-dotnet.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 690ac02..bde8fb4 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71498,7 +71498,7 @@ function run() { else { core.setOutput(constants_1.Outputs.CacheHit, false); } - const matchersPath = path_1.default.join(__dirname, '..', '.github'); + const matchersPath = path_1.default.join(__dirname, '..', '..', '.github'); core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`); } catch (error) { diff --git a/src/setup-dotnet.ts b/src/setup-dotnet.ts index e8374fa..542e45d 100644 --- a/src/setup-dotnet.ts +++ b/src/setup-dotnet.ts @@ -101,7 +101,7 @@ export async function run() { core.setOutput(Outputs.CacheHit, false); } - const matchersPath = path.join(__dirname, '..', '.github'); + const matchersPath = path.join(__dirname, '..', '..', '.github'); core.info(`##[add-matcher]${path.join(matchersPath, 'csc.json')}`); } catch (error) { core.setFailed(error.message);