From 776b8576337e1f8c65f2d452ceeeb32614e43164 Mon Sep 17 00:00:00 2001 From: konradpabjan Date: Mon, 5 Apr 2021 18:55:26 -0400 Subject: [PATCH 1/2] Bump @actions/http-client to latest for artifact package --- packages/artifact/RELEASES.md | 4 ++++ packages/artifact/package-lock.json | 6 +++--- packages/artifact/package.json | 2 +- tsconfig.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/artifact/RELEASES.md b/packages/artifact/RELEASES.md index 0c41df2071..fb61a6bbfc 100644 --- a/packages/artifact/RELEASES.md +++ b/packages/artifact/RELEASES.md @@ -54,3 +54,7 @@ - Improved retry-ability for all http calls during artifact upload and download if an error is encountered +### 0.5.1 + +- Bump @actions/http-client to version 1.0.11 to fix proxy related issues during artifact upload and download + diff --git a/packages/artifact/package-lock.json b/packages/artifact/package-lock.json index f75bda69a4..bdb9cb9b7e 100644 --- a/packages/artifact/package-lock.json +++ b/packages/artifact/package-lock.json @@ -10,9 +10,9 @@ "integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==" }, "@actions/http-client": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.8.tgz", - "integrity": "sha512-G4JjJ6f9Hb3Zvejj+ewLLKLf99ZC+9v+yCxoYf9vSyH+WkzPLB2LuUtRMGNkooMqdugGBFStIKXOuvH1W+EctA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", + "integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", "requires": { "tunnel": "0.0.6" } diff --git a/packages/artifact/package.json b/packages/artifact/package.json index c76d4b1d3b..f958727097 100644 --- a/packages/artifact/package.json +++ b/packages/artifact/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "@actions/core": "^1.2.6", - "@actions/http-client": "^1.0.7", + "@actions/http-client": "^1.0.11", "@types/tmp": "^0.1.0", "tmp": "^0.1.0", "tmp-promise": "^2.0.2" diff --git a/tsconfig.json b/tsconfig.json index 0f6316a090..69a78b97e0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "declaration": true, "target": "es6", "sourceMap": true, - "lib": ["es6"] + "lib": ["es6","dom"] }, "exclude": [ "node_modules", From 2790eef5c1de405160b0e993ad351c02d565a7ee Mon Sep 17 00:00:00 2001 From: konradpabjan Date: Tue, 6 Apr 2021 12:37:36 -0400 Subject: [PATCH 2/2] Remove typescript libs to fix failing imports --- packages/exec/src/toolrunner.ts | 1 + tsconfig.json | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/exec/src/toolrunner.ts b/packages/exec/src/toolrunner.ts index 01e7cd1f5a..6b73d608d0 100644 --- a/packages/exec/src/toolrunner.ts +++ b/packages/exec/src/toolrunner.ts @@ -6,6 +6,7 @@ import * as stream from 'stream' import * as im from './interfaces' import * as io from '@actions/io' import * as ioUtil from '@actions/io/lib/io-util' +import {setTimeout} from 'timers' /* eslint-disable @typescript-eslint/unbound-method */ diff --git a/tsconfig.json b/tsconfig.json index 69a78b97e0..7d8f4511ed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,8 +5,7 @@ "strict": true, "declaration": true, "target": "es6", - "sourceMap": true, - "lib": ["es6","dom"] + "sourceMap": true }, "exclude": [ "node_modules",