mirror of
https://github.com/chickensoft-games/setup-godot.git
synced 2025-08-14 12:55:08 +00:00
change param name
This commit is contained in:
parent
d97102ba96
commit
64e6cfe03b
@ -37,7 +37,7 @@ inputs:
|
||||
<Project Sdk="Godot.NET.Sdk/4.0.0"> <!-- BAD -->
|
||||
```
|
||||
required: true
|
||||
custom_url:
|
||||
custom-url:
|
||||
description: >-
|
||||
Optional custom URL to download a custom Godot build. If set, the action will
|
||||
download and use this build instead of determining a version from `version`.
|
||||
@ -45,7 +45,7 @@ inputs:
|
||||
```yaml
|
||||
- uses: Mimyr-Games-LTD/setup-godot-custom@v1
|
||||
with:
|
||||
custom_url: 'https://example.com/my_custom_godot_build.zip'
|
||||
custom-url: 'https://example.com/my_custom_godot_build.zip'
|
||||
```
|
||||
required: false
|
||||
default: ''
|
||||
|
@ -21,7 +21,7 @@ async function run(platform: Platform): Promise<void> {
|
||||
.getInput('downloads-path')
|
||||
.replace(/\s/g, '')
|
||||
let version = core.getInput('version').replace(/\s/g, '')
|
||||
const customUrl = core.getInput('custom_url').trim()
|
||||
const customUrl = core.getInput('custom-url').replace(/\s/g, '')
|
||||
const useDotnet = core.getBooleanInput('use-dotnet')
|
||||
const binRelativePath = core.getInput('bin-path').replace(/\s/g, '')
|
||||
const godotSharpRelease = core.getBooleanInput('godot-sharp-release')
|
||||
|
Loading…
x
Reference in New Issue
Block a user