forked from firebelley/godot-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
65 lines (62 loc) · 2.41 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: 'Godot Export'
description: 'Automatically exports your Godot games.'
author: 'Firebelley'
branding:
icon: 'box'
color: 'white'
inputs:
# required inputs
godot_executable_download_url:
description: The download url of the Linux Headless Godot executable.
required: true
godot_export_templates_download_url:
description: The url of the export templates corresponding to the Godot executable version.
required: true
relative_project_path:
description: The path relative to the root of the git repository that contains the "project.godot" file.
required: true
# optional inputs
archive_output:
description: If "true", exported files will be archived into a ".zip" file.
default: false
required: false
archive_root_folder:
description: If "true", files that are archived will be placed in a root folder within the archive.
default: false
required: false
relative_export_path:
description: If provided, exports will be moved to this directory relative to the root of the Git repository. This setting is overridden by "use_preset_export_path".
default: ''
required: false
use_preset_export_path:
description: If set to true, exports will be moved to directory defined in "export_presets.cfg" relative to "relative_project_path". Prioritized over "relative_export_path".
default: false
required: false
wine_path:
description: The absolute path to the wine binary. If specified, Godot will use this to run rcedit to update Windows exe icons.
default: ''
required: false
export_debug:
description: If "true" Godot will export in debug mode.
default: false
required: false
verbose:
description: If "true" the --verbose flag will be added when exporting Godot projects.
default: false
required: false
use_godot_4:
description: "Build using godot 4 executable (NOTE: `godot_executable_download_url` and `godot_export_templates_download_url` still need to be configured to download the correct version."
default: false
required: false
export_as_pack:
description: "Export project files as a .pck file"
default: false
required: false
outputs:
build_directory:
description: The directory containing exports prior to archiving (if applicable).
archive_directory:
description: The directory containing archived exports if "archive_output" is set.
runs:
using: 'node16'
main: 'dist/index.js'