From 38c6641213374951115f6f2d5526f9ed6549b397 Mon Sep 17 00:00:00 2001 From: CPK Date: Wed, 18 Sep 2024 10:25:21 +0200 Subject: [PATCH 1/3] Use group outputs for errors --- utility/check.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utility/check.py b/utility/check.py index 190c203..193ae7c 100644 --- a/utility/check.py +++ b/utility/check.py @@ -31,7 +31,9 @@ def main(): if valid: print(f"✅ {filename} is valid") else: - print(f"❌ {filename} is invalid: {error}") + print(f"::group::❌ {filename} is invalid") + print(error) + print("::endgroup::") validation_failed = True if validation_failed: From b501da76eae007ad3901045f74eba53fcf8321bc Mon Sep 17 00:00:00 2001 From: CPK Date: Wed, 18 Sep 2024 10:29:45 +0200 Subject: [PATCH 2/3] Added malformed ms-store.json --- ms-store.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ms-store.json b/ms-store.json index 32960f8..3a2cfcd 100644 --- a/ms-store.json +++ b/ms-store.json @@ -1,2 +1,9 @@ [ -] \ No newline at end of file + { + "titlef": "Malformed News!", + "newsType": "OfficialAnnouncementj", + "url": "https://store.steampowered.com/app/2435860/PixiEditor__Supporter_Pack/", + "date": "2023-07-03", + "coverImageUrl": "https://clan.cloudflare.steamstatic.com/images/43538089/1059f4aa3724c973dad343e403b4da129c4e19f4_400x225.png" + } +] From d9896a9b089191b7dd6dd06609fb39011693c69a Mon Sep 17 00:00:00 2001 From: CPK Date: Wed, 18 Sep 2024 10:32:33 +0200 Subject: [PATCH 3/3] Undo malformed json --- ms-store.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ms-store.json b/ms-store.json index 3a2cfcd..0d4f101 100644 --- a/ms-store.json +++ b/ms-store.json @@ -1,9 +1,2 @@ [ - { - "titlef": "Malformed News!", - "newsType": "OfficialAnnouncementj", - "url": "https://store.steampowered.com/app/2435860/PixiEditor__Supporter_Pack/", - "date": "2023-07-03", - "coverImageUrl": "https://clan.cloudflare.steamstatic.com/images/43538089/1059f4aa3724c973dad343e403b4da129c4e19f4_400x225.png" - } ]