update README
This commit is contained in:
22
README.md
22
README.md
@@ -17,14 +17,32 @@ 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
|
||||
```
|
||||
|
||||
## Configuration
|
||||
### 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user