itsmeow/Upload to CurseForge
Uploads files to CurseForge via CurseForge API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 23, 2024
- License
- MIT
Pinned Snippet
uses: itsmeow/curseforge-upload@1493c4408b462f2ad8beb600f09c505e0c158397 # v3.1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token used to authenticate with CurseForge API. Use a repository secret for this. | yes | — |
| project_id | Project id (numerical) to upload file to. You can get the numerical ID from the sidebar on a project page. | yes | — |
| game_endpoint | The subdomain of curseforge.com where the upload request will be made. (minecraft, kerbal, etc.) | yes | — |
| file_path | The path to the file you want to upload | yes | — |
| changelog | The changelog text to put on the file. | no | — |
| changelog_type | The type of the changelog. Allowed values: "text", "html" (aka. WYSIWYG), "markdown". | no | — |
| display_name | The display name for this file. Defaults to the filename. | no | — |
| parent_file_id | The id of the parent file to put this file under. Defaults to none. (IDs are integers) | no | — |
| game_versions | The game version IDs to select on this file. Separate IDs with "," (no quotes). See README for more info. | no | — |
| release_type | The type of this release. Allowed values: "alpha", "beta", "release". | no | — |
| relations | List of projects this file is related to and their relation type. Separate with "," (no quotes). Format: projectslug:relationType - Valid relationTypes are: embeddedLibrary, incompatible, optionalDependency, requiredDependency, and tool | no | — |
Outputs
| name | description |
|---|---|
| id | The ID of the file created. |