fix: change relative path to problem matcher

This commit is contained in:
Nogic 2023-04-26 23:57:40 +00:00
parent 061d7afe7f
commit cffdfc80c6
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -71498,7 +71498,7 @@ function run() {
else { else {
core.setOutput(constants_1.Outputs.CacheHit, false); 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')}`); core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`);
} }
catch (error) { catch (error) {

View File

@ -101,7 +101,7 @@ export async function run() {
core.setOutput(Outputs.CacheHit, false); 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')}`); core.info(`##[add-matcher]${path.join(matchersPath, 'csc.json')}`);
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);