add minor fix

This commit is contained in:
Dmitry Shibanov 2021-09-14 18:11:07 +03:00
parent eaf0789850
commit 0727fdd07d
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -6480,7 +6480,7 @@ function run() {
cacheDistributor.restoreCache(); cacheDistributor.restoreCache();
} }
} }
const matchersPath = path.join(__dirname, '..', '.github'); const matchersPath = path.join(__dirname, '../..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
} }
catch (err) { catch (err) {

View File

@ -35,7 +35,7 @@ async function run() {
cacheDistributor.restoreCache(); cacheDistributor.restoreCache();
} }
} }
const matchersPath = path.join(__dirname, '..', '.github'); const matchersPath = path.join(__dirname, '../..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
} catch (err) { } catch (err) {
core.setFailed((err as Error).message); core.setFailed((err as Error).message);