change param name

This commit is contained in:
naxa1ka 2024-12-17 12:28:10 +02:00
parent d97102ba96
commit 64e6cfe03b
2 changed files with 3 additions and 3 deletions

View File

@ -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: ''

View File

@ -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')