update proxy domain

This commit is contained in:
zhangjie
2023-10-23 11:24:21 +08:00
parent 3ef9cd15a3
commit 8246cd0dca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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