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.
- Host: GitHub
- URL: https://github.com/solarlabyrinth/action-setup-godot
- Owner: SolarLabyrinth
- License: mit-0
- Created: 2025-03-27T19:50:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T17:27:42.000Z (about 1 year ago)
- Last Synced: 2025-04-06T17:32:53.880Z (about 1 year ago)
- Topics: actions, cicd, godot
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |