An open API service indexing awesome lists of open source software.

https://github.com/solarlabyrinth/action-setup-godot

A GitHub Action to install Godot on a GitHub Actions runner.
https://github.com/solarlabyrinth/action-setup-godot

actions cicd godot

Last synced: about 2 months ago
JSON representation

A GitHub Action to install Godot on a GitHub Actions runner.

Awesome Lists containing this project

README

          

# Action: Setup Godot

A GitHub Action to install Godot 4 on a GitHub Actions runner.

> Note: Only supported on Ubuntu runners with Godot 4+.

## Usage

This action will download export templates and provide access to the godot binary on your runner's path. You can then reference that binary in other workflow steps.

```yml
- name: Setup Godot
uses: solarlabyrinth/action-setup-godot@v2
with:
version: 4.6.1-stable

- name: Build Game
run: |
mkdir -p ./build
godot --headless --export-debug "Windows" ./build/game.exe
```

### Variables

```yml
- name: Setup Godot
uses: solarlabyrinth/action-setup-godot@v2
with:
# Required. The name of a release from here: https://github.com/godotengine/godot-builds/releases
version: 4.6.1-stable
# Optional. Defaults to false
csharp: false
# Optional. Defaults to "godot"
name: godot
```

### Tested Versions

Any version of 4.X should work, even ones not listed here. These are the versions my test suite runs against by exporting a small Godot project to the following target platforms.

| Version | Windows | Linux | Mac | Windows - C# | Linux - C# | Mac - C# |
| ------------ | ------- | ----- | --- | ------------ | ---------- | -------- |
| 4.7-dev2 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.6.1-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.5.1-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.4.1-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.3-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.2.2-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.1.4-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| 4.0.4-stable | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |