From 58d51f57e5e11b825871de133187995fa0d1c8f3 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Thu, 24 Aug 2023 22:45:36 +0800 Subject: [PATCH] feat: Add optional deps references --- .github/workflows/call.platform_uploads.yml | 49 +++++++++++++++++++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/.github/workflows/call.platform_uploads.yml b/.github/workflows/call.platform_uploads.yml index 06b8e074..984e87ea 100644 --- a/.github/workflows/call.platform_uploads.yml +++ b/.github/workflows/call.platform_uploads.yml @@ -34,17 +34,60 @@ jobs: with: plugin_name: multiverse-core modrinth_project_id: 3wmN97b8 - modrinth_dependencies: '[]' + modrinth_dependencies: > + [ + {"project_id": "qvdtDX3s", "dependency_type": "optional"}, + {"project_id": "8VMk6P0I", "dependency_type": "optional"}, + {"project_id": "vtawPsTo", "dependency_type": "optional"}, + {"project_id": "WuErDeI1", "dependency_type": "optional"} + ] + dbo_project_id: 30765 dbo_project_relations: > [ + {"slug": "multiverse-inventories", "type": "optionalDependency"}, {"slug": "multiverse-portals", "type": "optionalDependency"}, {"slug": "multiverse-netherportals", "type": "optionalDependency"}, {"slug": "multiverse-signportals", "type": "optionalDependency"}, - {"slug": "multiverse-inventories", "type": "optionalDependency"} + {"slug": "vault", "type": "optionalDependency"} ] + hangar_slug: Multiverse-Core - hangar_plugin_dependencies: '{}' + hangar_plugin_dependencies: > + { "PAPER": [ + { + "name": "Multiverse-Inventories", + "required": false, + "namespace": { + "owner": "Multiverse", + "slug": "Multiverse-Inventories" + } + }, + { + "name": "Multiverse-Portals", + "required": false, + "namespace": { + "owner": "Multiverse", + "slug": "Multiverse-Portals" + } + }, + { + "name": "Multiverse-NetherPortals", + "required": false, + "namespace": { + "owner": "Multiverse", + "slug": "Multiverse-NetherPortals" + } + }, + { + "name": "Multiverse-SignPortals", + "required": false, + "namespace": { + "owner": "Multiverse", + "slug": "Multiverse-SignPortals" + } + } + ]} target_tag: ${{ inputs.target_tag }} upload_modrinth: ${{ inputs.upload_modrinth }}