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