mirror of https://github.com/aminya/setup-cpp
fix: fix the matchers path for python
This commit is contained in:
parent
bd2585f331
commit
991ce56d70
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "python",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\s*File\\s\\\"(.*)\\\",\\sline\\s(\\d+),\\sin\\s(.*)$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
},
|
||||
{
|
||||
"regexp": "^\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$",
|
||||
"message": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
import * as core from "@actions/core"
|
||||
import * as finder from "./setup-python/src/find-python"
|
||||
import * as finderPyPy from "./setup-python/src/find-pypy"
|
||||
import * as path from "path"
|
||||
// import * as path from "path"
|
||||
|
||||
function isPyPyVersion(versionSpec: string) {
|
||||
return versionSpec.startsWith("pypy-")
|
||||
|
@ -17,7 +17,7 @@ export async function setupActionsPython(version: string, _setupDir: string, arc
|
|||
const installed = await finder.findPythonVersion(version, arch)
|
||||
core.info(`Successfully setup ${installed.impl} (${installed.version})`)
|
||||
}
|
||||
const matchersPath = path.join("setup-pthon", ".github")
|
||||
core.info(`##[add-matcher]${path.join(matchersPath, "python.json")}`)
|
||||
// fails
|
||||
// core.info(`##[add-matcher]${path.join("./.github", "python.json")}`)
|
||||
return undefined
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue