From 04b86a4bbb65c5cec7c5c78e66f428ea401063a4 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Fri, 14 Jun 2024 13:46:52 +0200 Subject: [PATCH] fix retesting drafts of legay models --- .github/workflows/retest_all.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/retest_all.yaml b/.github/workflows/retest_all.yaml index 8cbcde31..ce472a2e 100644 --- a/.github/workflows/retest_all.yaml +++ b/.github/workflows/retest_all.yaml @@ -51,7 +51,7 @@ jobs: collection_draft = json.load(f) versions = [{"id": entry.get("nickname", entry["id"]), "v": "latest"} for entry in collection["collection"]] - versions.extend([{"id": entry["id"], "v": "draft"} for entry in collection_draft["collection"]]) + versions.extend([{"id": entry.get("nickname", entry["id"]), "v": "draft"} for entry in collection_draft["collection"]]) matrix = {"include": versions} with open(os.environ["GITHUB_OUTPUT"], "a") as f: print(f"matrix={matrix}", file=f)