mirror of
https://github.com/actions/setup-go.git
synced 2024-11-23 23:26:11 +08:00
15 lines
604 B
YAML
15 lines
604 B
YAML
name: 'Setup Go'
|
|
description: 'Set up a specific version of Go and add the command-line tools to the PATH'
|
|
author: 'GitHub'
|
|
inputs:
|
|
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'
|
|
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use go-version instead'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'lib/setup-go.js'
|