2019-08-13 02:41:23 +08:00
|
|
|
name: 'Setup Go environment'
|
2019-06-19 21:56:06 +08:00
|
|
|
description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support'
|
2019-06-19 21:44:17 +08:00
|
|
|
author: 'GitHub'
|
|
|
|
inputs:
|
2019-08-14 04:31:11 +08:00
|
|
|
go-version:
|
2019-06-19 22:11:12 +08:00
|
|
|
description: 'The Go version to download (if necessary) and use. Example: 1.9.3'
|
|
|
|
default: '1.10'
|
2019-08-14 04:31:11 +08:00
|
|
|
# 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'
|
2019-09-12 22:36:27 +08:00
|
|
|
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use go-version instead'
|
2019-06-19 21:44:17 +08:00
|
|
|
runs:
|
2019-07-10 00:44:13 +08:00
|
|
|
using: 'node12'
|
2019-06-19 22:11:12 +08:00
|
|
|
main: 'lib/setup-go.js'
|