update README
This commit is contained in:
26
README.md
26
README.md
@@ -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:
|
The action can be configured using various inputs to suit your testing needs. Here's a basic usage pattern:
|
||||||
|
|
||||||
```yaml
|
```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:
|
with:
|
||||||
godot-version: '4.6' # Required: Godot version to use
|
godot-version: '4.6' # Required: Godot version to use
|
||||||
dotnet-version: 'net9.0' # Optional: Dotnet framework version
|
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
|
## Configuration
|
||||||
|
|
||||||
|
|
||||||
### Godot Configuration
|
### Godot Configuration
|
||||||
|
|
||||||
| Parameter | Required | Default | Description |
|
| Parameter | Required | Default | Description |
|
||||||
|
|||||||
Reference in New Issue
Block a user