Update to use go-version (#10)

This commit is contained in:
Danny McCormick
2019-08-13 16:31:11 -04:00
committed by GitHub
parent b98503c960
commit 818723587f
4 changed files with 15 additions and 6 deletions

View File

@ -2,9 +2,12 @@ name: 'Setup Go environment'
description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support'
author: 'GitHub'
inputs:
version:
go-version:
description: 'The Go version to download (if necessary) and use. Example: 1.9.3'
default: '1.10'
# Deprecated option, do not use. Will not be supported after October 1, 2019
version:
description: 'Deprecated. Use go-version instead. Will not be supported after October 1, 2019'
runs:
using: 'node12'
main: 'lib/setup-go.js'