name: "Build Godot Project"
description: "Build a Godot project for multiple platforms"
author: krynv (based on original project from yeslayla & josephbman)
inputs:
name:
description: 'Name of the exported binary'
required: true
preset:
description: 'Name of the preset in `export_presets.cfg` to use'
subdirectory:
description: 'Optional name of the subdirectory to put exported project in'
default: ""
package:
description: 'Set true to output an artifact zip file'
default: false
projectDir:
description: 'Location of Godot project in repository'
default: "."
debugMode:
description: 'Whether or not to use `--export-debug`'
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.name }}
- ${{ inputs.preset }}
- ${{ inputs.subdirectory }}
- ${{ inputs.package }}
- ${{ inputs.projectDir }}
- ${{ inputs.debugMode }}
branding:
icon: loader
color: blue