mirror of https://github.com/actions/setup-go.git
This adds a new `go-download-site` input parameter that allows users to specify a custom base URL for downloading Go distributions. This is particularly useful for GitHub Enterprise Server (GHES) environments, corporate proxies, or air-gapped setups where direct access to github.com is restricted. Changes: - Added `go-download-site` input to `action.yml` (default: `https://github.com`) - Updated `installer.ts` to replace the default GitHub URL with the provided custom site URL - Updated `main.ts` to pass the input to the installer - Added documentation in `README.md` with examples for Artifactory and GHES proxies Resolves #296 |
||
|---|---|---|
| .. | ||
| cache-restore.ts | ||
| cache-save.ts | ||
| cache-utils.ts | ||
| constants.ts | ||
| installer.ts | ||
| main.ts | ||
| package-managers.ts | ||
| setup-go.ts | ||
| system.ts | ||
| types.ts | ||
| utils.ts | ||