mc-publish/action.yml

403 lines
14 KiB
YAML
Raw Permalink Normal View History

2023-05-19 13:40:51 -04:00
# ######################################################################## #
# WARNING: AUTO-GENERATED FILE - DO NOT EDIT! #
# #
# Please be advised that this is an auto-generated file and should NOT be #
# modified. Any changes made to this file WILL BE OVERWRITTEN. #
# #
# To make changes to the contents of this file, please modify the #
# action.template.yml file instead. This will ensure that your changes are #
# properly reflected in the auto-generated file. #
# ######################################################################## #
name: mc-publish
description: Your one-stop GitHub Action for seamless Minecraft project
publication across various platforms.
2022-07-05 14:10:15 -04:00
author: Kir-Antipov
branding:
2023-05-19 13:40:51 -04:00
color: purple
icon: box
2022-07-05 14:10:15 -04:00
inputs:
modrinth-id:
2023-05-19 13:40:51 -04:00
description: The unique identifier of your Modrinth project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
modrinth-featured:
2023-05-19 13:40:51 -04:00
description: Set to true to feature the version on Modrinth; false otherwise.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
modrinth-unfeature-mode:
2023-05-19 13:40:51 -04:00
description: Sets the behavior for unfeaturing older Modrinth versions.
default: subset
2022-07-05 14:10:15 -04:00
required: false
modrinth-token:
2023-05-19 13:40:51 -04:00
description: Your Modrinth API token.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
curseforge-id:
2023-05-19 13:40:51 -04:00
description: The unique identifier of your CurseForge project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
curseforge-token:
2023-05-19 13:40:51 -04:00
description: Your CurseForge API token.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-tag:
2023-05-19 13:40:51 -04:00
description: The tag name for the release where assets will be uploaded.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-generate-changelog:
2023-05-19 13:40:51 -04:00
description: Set to true to generate a changelog automatically for this release;
false otherwise. Ignored if the GitHub Release already exists.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-draft:
2023-05-19 13:40:51 -04:00
description: Set to true to create a draft release; false otherwise. Ignored if
the GitHub Release already exists.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-prerelease:
2023-05-19 13:40:51 -04:00
description: Set to true to mark the release as a prerelease; false otherwise.
Ignored if the GitHub Release already exists.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-commitish:
2023-05-19 13:40:51 -04:00
description: Defines the commitish value that determines where the Git tag is
created from. Can be any branch or commit SHA. Ignored if the Git tag
already exists.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-discussion:
2023-05-19 13:40:51 -04:00
description: If specified, creates and links a discussion of the specified
**existing** category to the release. Ignored if the GitHub Release
already exists.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
github-token:
2023-05-19 13:40:51 -04:00
description: Your GitHub API token.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
files:
2023-05-19 13:40:51 -04:00
description: An array of globs determining which files to upload.
default: |
build/libs/!(*-@(dev|sources|javadoc)).jar
build/libs/*-@(dev|sources|javadoc).jar
2022-07-05 14:10:15 -04:00
required: false
files-primary:
2023-05-19 13:40:51 -04:00
description: A glob determining the primary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
files-secondary:
2023-05-19 13:40:51 -04:00
description: A glob determining the secondary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
name:
2023-05-19 13:40:51 -04:00
description: The name of the version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
version:
2023-05-19 13:40:51 -04:00
description: The version number.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
version-type:
2023-05-19 13:40:51 -04:00
description: The version type - alpha, beta, or release.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
changelog:
2023-05-19 13:40:51 -04:00
description: The changelog for this version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
changelog-file:
2023-05-19 13:40:51 -04:00
description: A glob pointing to the changelog file.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
loaders:
2023-05-19 13:40:51 -04:00
description: An array of supported mod loaders.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
game-versions:
2023-05-19 13:40:51 -04:00
description: An array of supported Minecraft versions.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
dependencies:
2023-05-19 13:40:51 -04:00
description: An array of dependencies required by your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
version-resolver:
2023-05-19 13:40:51 -04:00
description: Controls the method used to automatically resolve game versions.
deprecationMessage: Please, use 'game-version-filter' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
game-version-filter:
description: Controls the method used to filter game versions.
2024-01-14 16:53:58 -05:00
default: releases
2023-05-19 13:40:51 -04:00
required: false
2022-07-05 14:10:15 -04:00
java:
2023-05-19 13:40:51 -04:00
description: An array of Java versions compatible with your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
retry-attempts:
2023-05-19 13:40:51 -04:00
description: Defines the maximum number of asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: 2
required: false
retry-delay:
2023-05-19 13:40:51 -04:00
description: Specifies the delay (in milliseconds) between asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: 10000
required: false
fail-mode:
2023-05-19 13:40:51 -04:00
description: Controls how the action responds to errors during the mod
publishing process.
default: fail
2022-07-05 14:10:15 -04:00
required: false
modrinth-files:
2023-05-19 13:40:51 -04:00
description: An array of globs determining which files to upload.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
curseforge-files:
description: An array of globs determining which files to upload.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
github-files:
description: An array of globs determining which files to upload.
2022-07-05 14:10:15 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
required: false
modrinth-files-primary:
description: A glob determining the primary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-files-primary:
description: A glob determining the primary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-files-primary:
description: A glob determining the primary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-files-secondary:
description: A glob determining the secondary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-files-secondary:
description: A glob determining the secondary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-files-secondary:
description: A glob determining the secondary files to upload.
deprecationMessage: Please, use 'files' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-name:
description: The name of the version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-name:
description: The name of the version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-name:
description: The name of the version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-version:
description: The version number.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-version:
description: The version number.
required: false
2022-08-21 08:22:53 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-version:
description: The version number.
2022-07-05 14:10:15 -04:00
required: false
2022-08-21 08:22:53 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-version-type:
description: The version type - alpha, beta, or release.
2022-07-05 14:10:15 -04:00
required: false
2023-05-19 13:40:51 -04:00
default: ${undefined}
curseforge-version-type:
description: The version type - alpha, beta, or release.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-version-type:
description: The version type - alpha, beta, or release.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-changelog:
description: The changelog for this version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-changelog:
description: The changelog for this version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-changelog:
description: The changelog for this version.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-changelog-file:
description: A glob pointing to the changelog file.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-changelog-file:
description: A glob pointing to the changelog file.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-changelog-file:
description: A glob pointing to the changelog file.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-loaders:
description: An array of supported mod loaders.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
curseforge-loaders:
2023-05-19 13:40:51 -04:00
description: An array of supported mod loaders.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-loaders:
description: An array of supported mod loaders.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-game-versions:
description: An array of supported Minecraft versions.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-game-versions:
description: An array of supported Minecraft versions.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-game-versions:
description: An array of supported Minecraft versions.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-dependencies:
description: An array of dependencies required by your project.
2022-07-05 14:10:15 -04:00
required: false
2022-08-21 08:22:53 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-dependencies:
description: An array of dependencies required by your project.
2022-07-05 14:10:15 -04:00
required: false
2023-05-19 13:40:51 -04:00
default: ${undefined}
github-dependencies:
description: An array of dependencies required by your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-version-resolver:
description: Controls the method used to automatically resolve game versions.
deprecationMessage: Please, use 'game-version-filter' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-version-resolver:
description: Controls the method used to automatically resolve game versions.
deprecationMessage: Please, use 'game-version-filter' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-version-resolver:
description: Controls the method used to automatically resolve game versions.
deprecationMessage: Please, use 'game-version-filter' instead.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-game-version-filter:
description: Controls the method used to filter game versions.
default: ${undefined}
2022-07-05 14:10:15 -04:00
required: false
2023-05-19 13:40:51 -04:00
curseforge-game-version-filter:
description: Controls the method used to filter game versions.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
github-game-version-filter:
description: Controls the method used to filter game versions.
2022-07-05 14:10:15 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
required: false
modrinth-java:
description: An array of Java versions compatible with your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
curseforge-java:
description: An array of Java versions compatible with your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
github-java:
description: An array of Java versions compatible with your project.
2022-07-05 14:10:15 -04:00
required: false
default: ${undefined}
2023-05-19 13:40:51 -04:00
modrinth-retry-attempts:
description: Defines the maximum number of asset publishing attempts.
default: ${undefined}
2022-07-05 14:10:15 -04:00
required: false
2023-05-19 13:40:51 -04:00
curseforge-retry-attempts:
description: Defines the maximum number of asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
github-retry-attempts:
description: Defines the maximum number of asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
modrinth-retry-delay:
description: Specifies the delay (in milliseconds) between asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
curseforge-retry-delay:
description: Specifies the delay (in milliseconds) between asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: ${undefined}
required: false
2023-05-19 13:40:51 -04:00
github-retry-delay:
description: Specifies the delay (in milliseconds) between asset publishing attempts.
2022-07-05 14:10:15 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
required: false
modrinth-fail-mode:
description: Controls how the action responds to errors during the mod
publishing process.
2022-08-21 08:22:53 -04:00
default: ${undefined}
2022-07-05 14:10:15 -04:00
required: false
2023-05-19 13:40:51 -04:00
curseforge-fail-mode:
description: Controls how the action responds to errors during the mod
publishing process.
2022-08-21 08:22:53 -04:00
default: ${undefined}
2022-07-05 14:10:15 -04:00
required: false
github-fail-mode:
2023-05-19 13:40:51 -04:00
description: Controls how the action responds to errors during the mod
publishing process.
2022-07-05 14:10:15 -04:00
default: ${undefined}
2023-05-19 13:40:51 -04:00
required: false
outputs:
modrinth-id:
description: The unique identifier of your Modrinth project.
modrinth-version:
description: The unique identifier of the version published on Modrinth by this action.
modrinth-url:
description: The URL directing to the newly published version on Modrinth.
modrinth-files:
description: Array of objects, each containing details about the files published
for the new version on Modrinth, such as file `name`, `id`, and download
`url`.
curseforge-id:
description: The unique identifier of your CurseForge project.
curseforge-version:
description: The unique identifier of the version published on CurseForge by
this action.
curseforge-url:
description: The URL directing to the newly published version on CurseForge.
curseforge-files:
description: Array of objects, each containing details about the files published
for the new version on CurseForge, such as file `name`, `id`, and download
`url`.
github-repo:
description: The full repository name on GitHub, formatted as 'username/repository'.
github-tag:
description: The Git tag associated with the new or updated release published on GitHub.
github-url:
description: The URL directing to the newly published version on GitHub.
github-files:
description: Array of objects, each containing details about the files published
for the new version on GitHub, such as file `name`, `id`, and download
`url`.
2022-07-05 14:10:15 -04:00
runs:
2023-05-19 13:40:51 -04:00
using: node16
2022-07-05 14:10:15 -04:00
main: dist/index.js