actions-marketplace-validations/Upload to Modrinth
Uploads files to Modrinth via Labrinth API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token used to authenticate with Modrinth API. Use a repository secret for this | yes | — |
| file_path | The path to the file you want to upload | yes | — |
| name | The display name for this file | yes | — |
| version | The version number. Ideally will follow semantic versioning | yes | — |
| changelog | The changelog for this version | no | — |
| relations | List of projects this file is related to and their relation type. Separate with "," (no quotes). Format: projectId:relationType - Valid relationTypes are: required, optional, incompatible and embedded | no | — |
| game_versions | The game versions to select on this file. Separate with "," (no quotes) | yes | — |
| release_type | The type of this release. Allowed values: "alpha", "beta", "release" | no | — |
| loaders | The mod loaders that this version supports. Separate with "," (no quotes) | yes | — |
| featured | Whether the version is featured or not | yes | — |
| project_id | Project ID to upload file to. You can get the ID from the sidebar on a project page under "Technical Information" | yes | — |
| staging | Whether to use Modrinth's staging api | no | — |
| new_project_body | A new body for the mod page | no | — |
Outputs
| name | description |
|---|---|
| id | The ID of the file created |