From 2fbf77bfdca0d4e0f3a2b628e63744ff933ae2f5 Mon Sep 17 00:00:00 2001 From: Sergey-Murtazin Date: Wed, 19 Jan 2022 18:21:35 +0300 Subject: [PATCH] Chenge in action.yaml file --- action.yml | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index ede1e0a..8dbb196 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ inputs: description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.' check-latest: description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec' - default: false + default: 'false' stable: description: 'Whether to download only stable versions' default: 'true' diff --git a/src/main.ts b/src/main.ts index 409770d..7d460c5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,7 +18,7 @@ export async function run() { // since getting unstable versions should be explicit let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE'; - core.info(`Setup go ${stable ? 'stable' : ''} version spec ${versionSpec}`); + core.info(`Setup go${stable ? ' stable ' : ' '}version spec ${versionSpec}`); if (versionSpec) { let token = core.getInput('token');