This repository has been archived on 2024-11-15. You can view files and clone it, but cannot push or open issues or pull requests.
build-godot-action/action.yml

35 lines
924 B
YAML
Raw Normal View History

name: "Build Godot"
description: "Build a Godot project for multiple platforms"
author: josephbmanley
inputs:
name:
description: 'Name of the exported binary'
required: true
preset:
description: 'Name of the preset in `export_presets.cfg` to use'
required: true
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
2020-02-01 06:40:30 +02:00
projectDir:
description: 'Location of Godot project in repository'
default: ""
2020-03-17 00:10:19 +02:00
debugMode:
description: 'Whether or not to use `--export-debug`'
default: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.name }}
- ${{ inputs.preset }}
- ${{ inputs.subdirectory }}
- ${{ inputs.package }}
2020-02-01 06:40:30 +02:00
- ${{ inputs.projectDir }}
2020-03-17 00:10:19 +02:00
- ${{ inputs.debugMode }}
branding:
icon: loader
color: blue