mc-publish/action.yml

109 lines
2.9 KiB
YAML
Raw Normal View History

2021-09-26 09:19:14 -04:00
name: Publish Minecraft Mods
2021-09-25 02:41:13 -04:00
description: GitHub Action that helps you publish your Minecraft mods
author: Kir-Antipov
branding:
color: orange
icon: upload
inputs:
modrinth-id:
description: The ID of the Modrinth project to upload to
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
modrinth-token:
2021-09-26 09:19:14 -04:00
description: A valid token for the Modrinth API
2021-09-25 02:41:13 -04:00
required: false
default: ${undefined}
2022-06-06 11:17:42 -04:00
modrinth-featured:
description: Indicates whether the version should be featured on Modrinth or not
required: false
default: ${undefined}
modrinth-unfeature-mode: Determines the way automatic unfeaturing of older Modrinth versions works
description:
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
curseforge-id:
description: The ID of the CurseForge project to upload to
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
curseforge-token:
2021-09-26 09:19:14 -04:00
description: A valid token for the CurseForge API
2021-09-25 02:41:13 -04:00
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
github-tag:
description: The tag name of the release to upload assets to
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
github-token:
2021-09-26 09:19:14 -04:00
description: A valid token for the GitHub API
2021-09-25 02:41:13 -04:00
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
files:
description: A glob of the files to upload
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
files-primary:
description: A glob of the primary files to upload
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
files-secondary:
description: A glob of the secondary files to upload
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
name:
description: The name of the version
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
version:
2021-09-26 09:19:14 -04:00
description: The version number
2021-09-25 02:41:13 -04:00
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
version-type:
description: The type of the release - alpha, beta, or release
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
changelog:
description: The changelog for this version
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
changelog-file:
description: A glob of the changelog file
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
loaders:
description: A list of supported mod loaders
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
game-versions:
description: A list of supported Minecraft versions
required: false
default: ${undefined}
2021-12-10 08:46:09 -05:00
dependencies:
description: A list of dependencies
required: false
default: ${undefined}
2021-10-01 09:13:08 -04:00
version-resolver:
description: Determines the way automatic game-versions resolvement works
required: false
default: ${undefined}
2021-09-25 02:41:13 -04:00
java:
description: A list of supported Java versions
required: false
default: ${undefined}
retry-attempts:
description: The maximum number of attempts to publish assets
required: false
default: 2
retry-delay:
description: Time delay between attempts to publish assets (in milliseconds)
required: false
default: 10000
2021-09-25 02:41:13 -04:00
runs:
using: node12
main: dist/index.js