mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 18:02:15 +00:00
Chenge in action.yaml file
This commit is contained in:
parent
741f2fd714
commit
2fbf77bfdc
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue