2023-08-22 15:35:10 +02:00
|
|
|
name: 'Call: Platform Uploads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
target_tag:
|
|
|
|
description: 'Version to upload'
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
upload_modrinth:
|
|
|
|
description: 'Upload to modrinth.com'
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
upload_dbo:
|
|
|
|
description: 'Upload to dev.bukkit.org'
|
|
|
|
required: true
|
|
|
|
type: string
|
2023-08-24 11:04:57 +02:00
|
|
|
upload_hangar:
|
|
|
|
description: 'Upload to hangar.papermc.io'
|
|
|
|
required: true
|
|
|
|
type: string
|
2023-08-22 15:35:10 +02:00
|
|
|
secrets:
|
|
|
|
MODRINTH_TOKEN:
|
|
|
|
required: true
|
|
|
|
DBO_UPLOAD_API_TOKEN:
|
|
|
|
required: true
|
2023-08-24 11:04:57 +02:00
|
|
|
HANGAR_UPLOAD_TOKEN:
|
|
|
|
required: true
|
2023-08-22 15:35:10 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
platform_uploads:
|
2023-08-24 11:04:57 +02:00
|
|
|
uses: ./.github/workflows/generic.platform_uploads.yml
|
|
|
|
secrets: inherit
|
|
|
|
with:
|
|
|
|
plugin_name: multiverse-core
|
|
|
|
modrinth_project_id: 3wmN97b8
|
2023-08-24 16:45:36 +02:00
|
|
|
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"}
|
|
|
|
]
|
|
|
|
|
2023-08-24 11:04:57 +02:00
|
|
|
dbo_project_id: 30765
|
|
|
|
dbo_project_relations: >
|
|
|
|
[
|
2023-08-24 16:45:36 +02:00
|
|
|
{"slug": "multiverse-inventories", "type": "optionalDependency"},
|
2023-08-24 11:04:57 +02:00
|
|
|
{"slug": "multiverse-portals", "type": "optionalDependency"},
|
|
|
|
{"slug": "multiverse-netherportals", "type": "optionalDependency"},
|
|
|
|
{"slug": "multiverse-signportals", "type": "optionalDependency"},
|
2023-08-24 16:45:36 +02:00
|
|
|
{"slug": "vault", "type": "optionalDependency"}
|
2023-08-24 11:04:57 +02:00
|
|
|
]
|
2023-08-24 16:45:36 +02:00
|
|
|
|
2023-08-24 11:04:57 +02:00
|
|
|
hangar_slug: Multiverse-Core
|
2023-08-24 16:45:36 +02:00
|
|
|
hangar_plugin_dependencies: >
|
|
|
|
{ "PAPER": [
|
|
|
|
{
|
|
|
|
"name": "Multiverse-Inventories",
|
|
|
|
"required": false,
|
2023-08-27 12:20:03 +02:00
|
|
|
"platforms": ["PAPER"]
|
2023-08-24 16:45:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Multiverse-Portals",
|
|
|
|
"required": false,
|
2023-08-27 12:20:03 +02:00
|
|
|
"platforms": ["PAPER"]
|
2023-08-24 16:45:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Multiverse-NetherPortals",
|
|
|
|
"required": false,
|
2023-08-27 12:20:03 +02:00
|
|
|
"platforms": ["PAPER"]
|
2023-08-24 16:45:36 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Multiverse-SignPortals",
|
|
|
|
"required": false,
|
2023-08-27 12:20:03 +02:00
|
|
|
"platforms": ["PAPER"]
|
2023-08-24 16:45:36 +02:00
|
|
|
}
|
|
|
|
]}
|
2023-08-22 15:35:10 +02:00
|
|
|
|
2023-08-24 11:04:57 +02:00
|
|
|
target_tag: ${{ inputs.target_tag }}
|
|
|
|
upload_modrinth: ${{ inputs.upload_modrinth }}
|
|
|
|
upload_dbo: ${{ inputs.upload_dbo }}
|
|
|
|
upload_hangar: ${{ inputs.upload_hangar }}
|