mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-09-30 15:56:53 +00:00
Add input add-problem-matchers (#517)
Allows to disable the adding of problem matchers Closes: #511
This commit is contained in:
committed by
GitHub
parent
d664c2a1d1
commit
e5d42a2b46
@@ -11,6 +11,7 @@ import {
|
||||
} from "./download/download-version";
|
||||
import {
|
||||
activateEnvironment as activateEnvironmentInput,
|
||||
addProblemMatchers,
|
||||
cacheLocalPath,
|
||||
checkSum,
|
||||
enableCache,
|
||||
@@ -226,8 +227,10 @@ function setCacheDir(cacheLocalPath: string): void {
|
||||
}
|
||||
|
||||
function addMatchers(): void {
|
||||
const matchersPath = path.join(__dirname, `..${path.sep}..`, ".github");
|
||||
core.info(`##[add-matcher]${path.join(matchersPath, "python.json")}`);
|
||||
if (addProblemMatchers) {
|
||||
const matchersPath = path.join(__dirname, `..${path.sep}..`, ".github");
|
||||
core.info(`##[add-matcher]${path.join(matchersPath, "python.json")}`);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
|
Reference in New Issue
Block a user