36ac8f7987
BUGFIX: spacing . -> * Subdirectory / Subdirectory path Create subdir Echo platform build Conditional zip debug
1.1 KiB
1.1 KiB
Build Godot Project
This action builds the godot project in your $GITHUB_WORKSPACE
, so that you can easily automate builds.
Usage
This action will create a build
folder with subdirectories for linux, windows, and mac. You must have the export preset configured for each platform to successfully export.
Example:
steps:
- uses: josephbmanley/build-godot-action@master
env:
PROJECT: godot-project
SUBDIRECTORY: project
Environment Variables
-
PROJECT REQUIRED
Name of the project files to output.
Eg.
godot-project
will export togodot-project.exe
-
SUBDIRECTORY
Subdirectory to export project into.
Eg.
project
will export to$GITHUB_WORKSPACE/build/windows/project/godot-project.exe
-
PACKAGE
Boolean value on whether or not to zip game files. Packages will be placed in the
$GITHUB_WORKSPACE/package
directory.Default Value:
false
Credits
This action uses the godot-ci docker image from BARICHELLO