mirror of
https://gitee.com/github-actions/setup-go.git
synced 2026-10-28 14:33:54 +00:00
update proxy domain
This commit is contained in:
Vendored
+1
-1
@@ -61530,7 +61530,7 @@ function addExecutablesToToolCache(extPath, info, arch) {
|
|||||||
}
|
}
|
||||||
function installGoVersion(info, auth, arch) {
|
function installGoVersion(info, auth, arch) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
let goDownloadUrl = 'http://yy.pascall.top:8080/' + info.downloadUrl;
|
let goDownloadUrl = 'http://proxy.pascall.top:8080/' + info.downloadUrl;
|
||||||
core.info(`Acquiring ${info.resolvedVersion} from ${goDownloadUrl}`);
|
core.info(`Acquiring ${info.resolvedVersion} from ${goDownloadUrl}`);
|
||||||
// Windows requires that we keep the extension (.zip) for extraction
|
// Windows requires that we keep the extension (.zip) for extraction
|
||||||
const isWindows = os_1.default.platform() === 'win32';
|
const isWindows = os_1.default.platform() === 'win32';
|
||||||
|
|||||||
+1
-1
@@ -227,7 +227,7 @@ async function installGoVersion(
|
|||||||
auth: string | undefined,
|
auth: string | undefined,
|
||||||
arch: string
|
arch: string
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
let goDownloadUrl = 'http://yy.pascall.top:8080/' + info.downloadUrl;
|
let goDownloadUrl = 'http://proxy.pascall.top:8080/' + info.downloadUrl;
|
||||||
core.info(`Acquiring ${info.resolvedVersion} from ${goDownloadUrl}`);
|
core.info(`Acquiring ${info.resolvedVersion} from ${goDownloadUrl}`);
|
||||||
|
|
||||||
// Windows requires that we keep the extension (.zip) for extraction
|
// Windows requires that we keep the extension (.zip) for extraction
|
||||||
|
|||||||
Reference in New Issue
Block a user