diff --git a/dist/index.js b/dist/index.js index 337da6a..6d94573 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3359,7 +3359,7 @@ class HttpClient { } const usingSsl = parsedUrl.protocol === 'https:'; proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && { - token: `${proxyUrl.username}:${proxyUrl.password}` + token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}` }))); this._proxyAgentDispatcher = proxyAgent; if (usingSsl && this._ignoreSslError) { diff --git a/package-lock.json b/package-lock.json index 4af6fb1..6ee74be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", - "@actions/http-client": "^2.2.2", + "@actions/http-client": "^2.2.3", "@actions/tool-cache": "^2.0.1", "semver": "^7.6.3" }, @@ -53,9 +53,9 @@ } }, "node_modules/@actions/http-client": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.2.tgz", - "integrity": "sha512-2TvX5LskKQzDDQI+bobIDGAjkn0NJiQlg4MTrKnZ8HfQ7nDEUbtJ1ytxPDb2bfk3Hr2XD99X8oAJISAmIoiSAQ==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", "dependencies": { "tunnel": "^0.0.6", "undici": "^5.25.4" @@ -5860,9 +5860,9 @@ } }, "@actions/http-client": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.2.tgz", - "integrity": "sha512-2TvX5LskKQzDDQI+bobIDGAjkn0NJiQlg4MTrKnZ8HfQ7nDEUbtJ1ytxPDb2bfk3Hr2XD99X8oAJISAmIoiSAQ==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", "requires": { "tunnel": "^0.0.6", "undici": "^5.25.4" diff --git a/package.json b/package.json index 2caf240..f603efd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", - "@actions/http-client": "^2.2.2", + "@actions/http-client": "^2.2.3", "@actions/tool-cache": "^2.0.1", "semver": "^7.6.3" },