mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-11-05 19:45:49 +00:00
14 lines
625 B
YAML
14 lines
625 B
YAML
name: 'Setup Go environment'
|
|
description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support'
|
|
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'
|