mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 06:30:10 +08:00
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:
@@ -1,9 +1,9 @@
|
||||
import * as fs from "fs";
|
||||
import { OutgoingHttpHeaders } from "http";
|
||||
import * as os from "os";
|
||||
import * as path from "path";
|
||||
|
||||
import * as toolrunner from "@actions/exec/lib/toolrunner";
|
||||
import { IHeaders } from "@actions/http-client/interfaces";
|
||||
import * as io from "@actions/io";
|
||||
import * as actionsToolcache from "@actions/tool-cache";
|
||||
import * as safeWhich from "@chrisgavin/safe-which";
|
||||
@@ -236,7 +236,7 @@ export function findAllVersions(
|
||||
export async function downloadTool(
|
||||
url: string,
|
||||
tempDir: string,
|
||||
headers: IHeaders
|
||||
headers: OutgoingHttpHeaders
|
||||
): Promise<string> {
|
||||
const dest = path.join(tempDir, uuidV4());
|
||||
const finalHeaders = Object.assign(
|
||||
|
||||
Reference in New Issue
Block a user