Bump @actions/tool-cache to 2.0.0
This allows us to drop our direct dependency on `@actions/http-client`.
This commit is contained in:
parent
1fae5bf71b
commit
54b4854fda
64 changed files with 2252 additions and 99 deletions
5
node_modules/@actions/tool-cache/lib/tool-cache.d.ts
generated
vendored
5
node_modules/@actions/tool-cache/lib/tool-cache.d.ts
generated
vendored
|
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="node" />
|
||||
import * as mm from './manifest';
|
||||
import { IHeaders } from '@actions/http-client/interfaces';
|
||||
import { OutgoingHttpHeaders } from 'http';
|
||||
export declare class HTTPError extends Error {
|
||||
readonly httpStatusCode: number | undefined;
|
||||
constructor(httpStatusCode: number | undefined);
|
||||
|
|
@ -13,7 +14,7 @@ export declare class HTTPError extends Error {
|
|||
* @param headers other headers
|
||||
* @returns path to downloaded tool
|
||||
*/
|
||||
export declare function downloadTool(url: string, dest?: string, auth?: string, headers?: IHeaders): Promise<string>;
|
||||
export declare function downloadTool(url: string, dest?: string, auth?: string, headers?: OutgoingHttpHeaders): Promise<string>;
|
||||
/**
|
||||
* Extract a .7z file
|
||||
*
|
||||
|
|
|
|||
2
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
2
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
|
|
@ -42,9 +42,9 @@ const httpm = __importStar(require("@actions/http-client"));
|
|||
const semver = __importStar(require("semver"));
|
||||
const stream = __importStar(require("stream"));
|
||||
const util = __importStar(require("util"));
|
||||
const assert_1 = require("assert");
|
||||
const v4_1 = __importDefault(require("uuid/v4"));
|
||||
const exec_1 = require("@actions/exec/lib/exec");
|
||||
const assert_1 = require("assert");
|
||||
const retry_helper_1 = require("./retry-helper");
|
||||
class HTTPError extends Error {
|
||||
constructor(httpStatusCode) {
|
||||
|
|
|
|||
2
node_modules/@actions/tool-cache/lib/tool-cache.js.map
generated
vendored
2
node_modules/@actions/tool-cache/lib/tool-cache.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
node_modules/@actions/tool-cache/package.json
generated
vendored
4
node_modules/@actions/tool-cache/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@actions/tool-cache",
|
||||
"version": "1.7.1",
|
||||
"version": "2.0.0",
|
||||
"description": "Actions tool-cache lib",
|
||||
"keywords": [
|
||||
"github",
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
"dependencies": {
|
||||
"@actions/core": "^1.2.6",
|
||||
"@actions/exec": "^1.0.0",
|
||||
"@actions/http-client": "^1.0.8",
|
||||
"@actions/http-client": "^2.0.0",
|
||||
"@actions/io": "^1.1.1",
|
||||
"semver": "^6.1.0",
|
||||
"uuid": "^3.3.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue