Go Tool Installer task

Azure Pipelines

Use this task in a build or release pipeline to find or download a specific version of the Go tool into the tools cache and add it to the PATH. Use the task to change the version of Go Lang used in subsequent tasks.

YAML snippet

# Go tool installer
# Find in cache or download a specific version of Go and add it to the PATH
- task: GoTool@0
    #version: '1.10' 
    #goPath: # Optional
    #goBin: # Optional


Version(Required) Go tool version to download and install. Example: 1.9.3
GOPATH(Optional) Value for the GOPATH environment variable.
GOBIN(Optional) Value for the GOBIN environment variable.
Control options

Open source

This task is open source on GitHub. Feedback and contributions are welcome.