diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 70f24b028..6ee38f013 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -107,7 +107,7 @@ jobs: git clone https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git report cd report - cp ../dist/report.json . + cp ../dist/reporter*.json . git add -A git commit -m "Reporter Results" diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 5e117504b..1e54aa161 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -92,7 +92,7 @@ function toCodeBlock(s: string, indentation = 0, isDiscord = false) { } async function printReport() { - const filePath = join("dist", "report.json"); + const filePath = join("dist", (CANARY ? "reporter-canary.json" : "reporter-stable.json")); writeFileSync(filePath, JSON.stringify(report, null, 2)); console.log();