mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +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.'
|
description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.'
|
||||||
check-latest:
|
check-latest:
|
||||||
description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec'
|
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:
|
stable:
|
||||||
description: 'Whether to download only stable versions'
|
description: 'Whether to download only stable versions'
|
||||||
default: 'true'
|
default: 'true'
|
||||||
|
|
|
@ -18,7 +18,7 @@ export async function run() {
|
||||||
// since getting unstable versions should be explicit
|
// since getting unstable versions should be explicit
|
||||||
let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE';
|
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) {
|
if (versionSpec) {
|
||||||
let token = core.getInput('token');
|
let token = core.getInput('token');
|
||||||
|
|
Loading…
Add table
Reference in a new issue