From 64e6cfe03b79669df0ba2bb7e989a4bb3c732920 Mon Sep 17 00:00:00 2001 From: naxa1ka Date: Tue, 17 Dec 2024 12:28:10 +0200 Subject: [PATCH] change param name --- action.yml | 4 ++-- src/main.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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')