update README

This commit is contained in:
2026-01-28 16:18:08 +01:00
parent 9d976e6ff0
commit 1895211233

View File

@@ -17,15 +17,33 @@ This GitHub Action automates the setting up of Godot Mono.
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
- name: Setup Godot
id: setup-godot
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
godot-version: '4.6' # Required: Godot version to use
dotnet-version: 'net9.0' # Optional: Dotnet framework version
```
### Ouputs
The action outputs the location of the Godot bin under the name `godot_bin`
```yaml
- name: Setup Godot
id: setup-godot
uses: https://git.game-dev.space/minimata/setup-godot.git@main
with:
godot-version: '4.5.1'
- name: Import resources and build solution
run: |
${{ steps.setup-godot.outputs.godot_bin }} --headless --editor --build-solutions --quit --import --path $PWD
```
## Configuration
### Godot Configuration
| Parameter | Required | Default | Description |