-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
46 lines (46 loc) · 1.83 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: "Upload to CurseForge"
description: "Uploads files to CurseForge via CurseForge API"
author: "itsmeow"
inputs:
token:
description: "Token used to authenticate with CurseForge API. Use a repository secret for this."
required: true
project_id:
description: "Project id (numerical) to upload file to. You can get the numerical ID from the sidebar on a project page."
required: true
game_endpoint:
description: "The subdomain of curseforge.com where the upload request will be made. (minecraft, kerbal, etc.)"
required: true
file_path:
description: "The path to the file you want to upload"
required: true
changelog:
description: "The changelog text to put on the file."
required: false
changelog_type:
description: 'The type of the changelog. Allowed values: "text", "html" (aka. WYSIWYG), "markdown".'
required: false
display_name:
description: "The display name for this file. Defaults to the filename."
required: false
parent_file_id:
description: "The id of the parent file to put this file under. Defaults to none. (IDs are integers)"
required: false
game_versions:
description: 'The game version IDs to select on this file. Separate IDs with "," (no quotes). See README for more info.'
required: false
release_type:
description: 'The type of this release. Allowed values: "alpha", "beta", "release".'
required: false
relations:
description: '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'
required: false
outputs:
id:
description: "The ID of the file created."
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "arrow-up-circle"
color: "orange"