Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Tasks/GoToolV0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ This task can run on Windows, Linux, or Mac machines.

* **Go download URL:** URL for downloading Go binaries. Leave empty to use the default (https://go.dev/dl). Supported URLs:
- `https://go.dev/dl` - [Official Go distribution](https://go.dev/dl/). (default)
- `https://aka.ms/golang/release/latest` - the [Microsoft build of Go](https://github.com/microsoft/go), a fork of the official Go distribution. See [the Migration Guide](https://github.com/microsoft/go/blob/microsoft/main/eng/doc/MigrationGuide.md) for an introduction to the Microsoft build of Go.
- `https://aka.ms/golang/release/latest` - the [Microsoft build of Go](https://github.com/microsoft/go) prefix, a fork of the official Go distribution. See [the Migration Guide](https://github.com/microsoft/go/blob/microsoft/main/eng/doc/MigrationGuide.md) for an introduction to the Microsoft build of Go.

### Environment Variables

* **GOTOOL_GODOWNLOADURL:** Optional. Specify the download URL for Go binaries. If both the **Go download URL** task parameter and this environment variable are set, the task parameter takes precedence.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"loc.input.label.goBin": "GOBIN",
"loc.input.help.goBin": "A custom value for the GOBIN environment variable.",
"loc.input.label.goDownloadUrl": "Go download URL",
"loc.input.help.goDownloadUrl": "URL for downloading Go binaries. Only https://go.dev/dl (official) and https://aka.ms/golang/release/latest (Microsoft build) are supported. If omitted, the official Go download URL (https://go.dev/dl) will be used. This parameter takes priority over the GOTOOL_GODOWNLOADURL environment variable if both are set.",
"loc.input.help.goDownloadUrl": "URL for downloading Go binaries. Only https://go.dev/dl (official) and https://aka.ms/golang/release/latest (Microsoft build prefix) are supported. If omitted, the official Go download URL (https://go.dev/dl) will be used. You can also set the 'GOTOOL_GODOWNLOADURL' environment variable to specify the download URL. The parameter takes priority over the environment variable if both are set.",
"loc.messages.FailedToDownload": "Failed to download Go version %s. Verify that the version is valid and resolve any other issues. Error: %s",
"loc.messages.TempDirNotSet": "The 'Agent.TempDirectory' environment variable was expected to be set."
}
4 changes: 2 additions & 2 deletions Tasks/GoToolV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 268,
"Minor": 269,
"Patch": 0
},
"satisfies": [
Expand Down Expand Up @@ -57,7 +57,7 @@
"label": "Go download URL",
"required": false,
"defaultValue": "https://go.dev/dl",
"helpMarkDown": "URL for downloading Go binaries. Only https://go.dev/dl (official) and https://aka.ms/golang/release/latest (Microsoft build) are supported. If omitted, the official Go download URL (https://go.dev/dl) will be used. This parameter takes priority over the GOTOOL_GODOWNLOADURL environment variable if both are set.",
"helpMarkDown": "URL for downloading Go binaries. Only https://go.dev/dl (official) and https://aka.ms/golang/release/latest (Microsoft build prefix) are supported. If omitted, the official Go download URL (https://go.dev/dl) will be used. You can also set the 'GOTOOL_GODOWNLOADURL' environment variable to specify the download URL. The parameter takes priority over the environment variable if both are set.",
"groupName": "advanced"
}
],
Expand Down
2 changes: 1 addition & 1 deletion Tasks/GoToolV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 268,
"Minor": 269,
"Patch": 0
},
"satisfies": [
Expand Down