Go Tool Installer task
Azure DevOps Services
Use this task 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
inputs:
#version: '1.10'
#goPath: # Optional
#goBin: # Optional
Arguments
| Argument | Description |
|---|---|
versionVersion |
(Required) Go tool version to download and install. Example: 1.9.3 Default value: 1.10 |
goPathGOPATH |
(Optional) Value for the GOPATH environment variable. |
goBinGOBIN |
(Optional) Value for the GOBIN environment variable. |
Open source
This task is open source on GitHub. Feedback and contributions are welcome.
Feedback
Issottometti u ara feedback għal