This commit is contained in:
2026-01-28 16:11:13 +01:00
parent 2df7d1230f
commit 9d976e6ff0

55
README.md Normal file
View File

@@ -0,0 +1,55 @@
# Setup Godot Action
This GitHub Action automates the setting up of Godot Mono.
## Requirements
### Godot Compatibility
- Godot 4.x (4.0.0 and above)
- .NET versions supported
### System Requirements
- GitHub Actions runner (Ubuntu latest recommended)
- Git with LFS support for larger projects
## Usage
The action can be configured using various inputs to suit your testing needs. Here's a basic usage pattern:
```yaml
- uses: https://git.game-dev.space/minimata/setup-godot.git@main
with:
godot-version: '4.6' # Required: Godot version to use
dotnet-version: 'net9.0' # Optional: Dotnet framework version
```
## Configuration
### Godot Configuration
| Parameter | Required | Default | Description |
|-----------------|----------|---------|---------------------------------------------|
| godot-version | Yes | | Godot version (e.g., "4.2.1") |
| godot-status | No | stable | Godot status (stable/rc1/dev1) |
| project_dir | No | ./ | The project directory in which the action is to be executed. The specified directory must end with a path separator. e.g. ./MyProject/ |
### .NET Configuration
| Parameter | Required | Default | Description |
|-------------------|----------|---------|-------------|
| dotnet-version | No | net8.0 | .NET version (net7.0/net8.0) |
## Performance Optimization
### Caching
The action automatically caches:
- Godot binaries
- .NET packages
- Project cache
### Related Projects
- [GdUnit4](https://github.com/godot-gdunit-labs/gdUnit4)
- [Godot Engine](https://godotengine.org)