diff --git a/action.yml b/action.yml index 15c4cfb..aebfb08 100644 --- a/action.yml +++ b/action.yml @@ -37,7 +37,7 @@ inputs: ``` 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: '' diff --git a/src/main.ts b/src/main.ts index f9a7b6a..45a59b0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,7 +21,7 @@ async function run(platform: Platform): Promise { .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')