Add createCheck to display test results in GitHub UI
parent
6a619e780c
commit
4a83d63c34
File diff suppressed because one or more lines are too long
|
@ -42,7 +42,7 @@ async function action() {
|
||||||
if (createCheck) {
|
if (createCheck) {
|
||||||
const fail = await ResultsCheck.publishResults(artifactsPath, checkName, githubToken);
|
const fail = await ResultsCheck.publishResults(artifactsPath, checkName, githubToken);
|
||||||
if (fail > 0) {
|
if (fail > 0) {
|
||||||
core.setFailed(`Tests Failed! Check ${checkName} for details.`);
|
core.setFailed(`Tests Failed! Check '${checkName}' for details.`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue