setup-go/action.yml

15 lines
604 B
YAML
Raw Normal View History

2019-11-09 00:50:57 +08:00
name: 'Setup Go'
description: 'Set up a specific version of Go and add the command-line tools to the PATH'
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'