actions-marketplace-validations/mc-publish
Your one-stop GitHub Action for seamless Minecraft project publication across various platforms.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 27, 2024
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/kir-antipov_mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| modrinth-id | The unique identifier of your Modrinth project. | no | ${undefined} |
| modrinth-featured | Set to true to feature the version on Modrinth; false otherwise. | no | ${undefined} |
| modrinth-unfeature-mode | Sets the behavior for unfeaturing older Modrinth versions. | no | subset |
| modrinth-token | Your Modrinth API token. | no | ${undefined} |
| curseforge-id | The unique identifier of your CurseForge project. | no | ${undefined} |
| curseforge-token | Your CurseForge API token. | no | ${undefined} |
| github-tag | The tag name for the release where assets will be uploaded. | no | ${undefined} |
| github-generate-changelog | Set to true to generate a changelog automatically for this release; false otherwise. Ignored if the GitHub Release already exists. | no | ${undefined} |
| github-draft | Set to true to create a draft release; false otherwise. Ignored if the GitHub Release already exists. | no | ${undefined} |
| github-prerelease | Set to true to mark the release as a prerelease; false otherwise. Ignored if the GitHub Release already exists. | no | ${undefined} |
| github-commitish | 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. | no | ${undefined} |
| github-discussion | If specified, creates and links a discussion of the specified **existing** category to the release. Ignored if the GitHub Release already exists. | no | ${undefined} |
| github-token | Your GitHub API token. | no | ${undefined} |
| files | An array of globs determining which files to upload. | no | build/libs/!(*-@(dev|sources|javadoc)).jar build/libs/*-@(dev|sources|javadoc).jar |
| files-primary | A glob determining the primary files to upload. | no | ${undefined} |
| files-secondary | A glob determining the secondary files to upload. | no | ${undefined} |
| name | The name of the version. | no | ${undefined} |
| version | The version number. | no | ${undefined} |
| version-type | The version type - alpha, beta, or release. | no | ${undefined} |
| changelog | The changelog for this version. | no | ${undefined} |
| changelog-file | A glob pointing to the changelog file. | no | ${undefined} |
| loaders | An array of supported mod loaders. | no | ${undefined} |
| game-versions | An array of supported Minecraft versions. | no | ${undefined} |
| dependencies | An array of dependencies required by your project. | no | ${undefined} |
| version-resolver | Controls the method used to automatically resolve game versions. | no | ${undefined} |
| game-version-filter | Controls the method used to filter game versions. | no | releases |
| java | An array of Java versions compatible with your project. | no | ${undefined} |
| retry-attempts | Defines the maximum number of asset publishing attempts. | no | 2 |
| retry-delay | Specifies the delay (in milliseconds) between asset publishing attempts. | no | 10000 |
| fail-mode | Controls how the action responds to errors during the mod publishing process. | no | fail |
| modrinth-files | An array of globs determining which files to upload. | no | ${undefined} |
| curseforge-files | An array of globs determining which files to upload. | no | ${undefined} |
| github-files | An array of globs determining which files to upload. | no | ${undefined} |
| modrinth-files-primary | A glob determining the primary files to upload. | no | ${undefined} |
| curseforge-files-primary | A glob determining the primary files to upload. | no | ${undefined} |
| github-files-primary | A glob determining the primary files to upload. | no | ${undefined} |
| modrinth-files-secondary | A glob determining the secondary files to upload. | no | ${undefined} |
| curseforge-files-secondary | A glob determining the secondary files to upload. | no | ${undefined} |
| github-files-secondary | A glob determining the secondary files to upload. | no | ${undefined} |
| modrinth-name | The name of the version. | no | ${undefined} |
| curseforge-name | The name of the version. | no | ${undefined} |
| github-name | The name of the version. | no | ${undefined} |
| modrinth-version | The version number. | no | ${undefined} |
| curseforge-version | The version number. | no | ${undefined} |
| github-version | The version number. | no | ${undefined} |
| modrinth-version-type | The version type - alpha, beta, or release. | no | ${undefined} |
| curseforge-version-type | The version type - alpha, beta, or release. | no | ${undefined} |
| github-version-type | The version type - alpha, beta, or release. | no | ${undefined} |
| modrinth-changelog | The changelog for this version. | no | ${undefined} |
| curseforge-changelog | The changelog for this version. | no | ${undefined} |
| github-changelog | The changelog for this version. | no | ${undefined} |
| modrinth-changelog-file | A glob pointing to the changelog file. | no | ${undefined} |
| curseforge-changelog-file | A glob pointing to the changelog file. | no | ${undefined} |
| github-changelog-file | A glob pointing to the changelog file. | no | ${undefined} |
| modrinth-loaders | An array of supported mod loaders. | no | ${undefined} |
| curseforge-loaders | An array of supported mod loaders. | no | ${undefined} |
| github-loaders | An array of supported mod loaders. | no | ${undefined} |
| modrinth-game-versions | An array of supported Minecraft versions. | no | ${undefined} |
| curseforge-game-versions | An array of supported Minecraft versions. | no | ${undefined} |
| github-game-versions | An array of supported Minecraft versions. | no | ${undefined} |
| modrinth-dependencies | An array of dependencies required by your project. | no | ${undefined} |
| curseforge-dependencies | An array of dependencies required by your project. | no | ${undefined} |
| github-dependencies | An array of dependencies required by your project. | no | ${undefined} |
| modrinth-version-resolver | Controls the method used to automatically resolve game versions. | no | ${undefined} |
| curseforge-version-resolver | Controls the method used to automatically resolve game versions. | no | ${undefined} |
| github-version-resolver | Controls the method used to automatically resolve game versions. | no | ${undefined} |
| modrinth-game-version-filter | Controls the method used to filter game versions. | no | ${undefined} |
| curseforge-game-version-filter | Controls the method used to filter game versions. | no | ${undefined} |
| github-game-version-filter | Controls the method used to filter game versions. | no | ${undefined} |
| modrinth-java | An array of Java versions compatible with your project. | no | ${undefined} |
| curseforge-java | An array of Java versions compatible with your project. | no | ${undefined} |
| github-java | An array of Java versions compatible with your project. | no | ${undefined} |
| modrinth-retry-attempts | Defines the maximum number of asset publishing attempts. | no | ${undefined} |
| curseforge-retry-attempts | Defines the maximum number of asset publishing attempts. | no | ${undefined} |
| github-retry-attempts | Defines the maximum number of asset publishing attempts. | no | ${undefined} |
| modrinth-retry-delay | Specifies the delay (in milliseconds) between asset publishing attempts. | no | ${undefined} |
| curseforge-retry-delay | Specifies the delay (in milliseconds) between asset publishing attempts. | no | ${undefined} |
| github-retry-delay | Specifies the delay (in milliseconds) between asset publishing attempts. | no | ${undefined} |
| modrinth-fail-mode | Controls how the action responds to errors during the mod publishing process. | no | ${undefined} |
| curseforge-fail-mode | Controls how the action responds to errors during the mod publishing process. | no | ${undefined} |
| github-fail-mode | Controls how the action responds to errors during the mod publishing process. | no | ${undefined} |
Outputs
| name | description |
|---|---|
| modrinth-id | The unique identifier of your Modrinth project. |
| modrinth-version | The unique identifier of the version published on Modrinth by this action. |
| modrinth-url | The URL directing to the newly published version on Modrinth. |
| modrinth-files | 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 | The unique identifier of your CurseForge project. |
| curseforge-version | The unique identifier of the version published on CurseForge by this action. |
| curseforge-url | The URL directing to the newly published version on CurseForge. |
| curseforge-files | 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 | The full repository name on GitHub, formatted as 'username/repository'. |
| github-tag | The Git tag associated with the new or updated release published on GitHub. |
| github-url | The URL directing to the newly published version on GitHub. |
| github-files | Array of objects, each containing details about the files published for the new version on GitHub, such as file `name`, `id`, and download `url`. |