mc-publish/action.yml
2021-10-01 16:13:08 +03:00

70 lines
No EOL
1.8 KiB
YAML

name: Publish Minecraft Mods
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
modrinth-token:
description: A valid token for the Modrinth API
required: false
curseforge-id:
description: The ID of the CurseForge project to upload to
required: false
curseforge-token:
description: A valid token for the CurseForge API
required: false
github-tag:
description: The tag name of the release to upload assets to
required: false
github-token:
description: A valid token for the GitHub API
required: false
files:
description: A glob of the files to upload
required: false
files-primary:
description: A glob of the primary files to upload
required: false
files-secondary:
description: A glob of the secondary files to upload
required: false
name:
description: The name of the version
required: false
version:
description: The version number
required: false
version-type:
description: The type of the release - alpha, beta, or release
required: false
changelog:
description: The changelog for this version
required: false
changelog-file:
description: A glob of the changelog file
required: false
loaders:
description: A list of supported mod loaders
required: false
game-versions:
description: A list of supported Minecraft versions
required: false
version-resolver:
description: Determines the way automatic game-versions resolvement works
required: false
java:
description: A list of supported Java versions
required: false
runs:
using: node12
main: dist/index.js