We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62819aa commit 4a9868eCopy full SHA for 4a9868e
src/installer.ts
@@ -5,7 +5,7 @@ import * as os from "os";
5
import * as path from "path";
6
import * as util from "util";
7
import * as httpm from "@actions/http-client";
8
-import * as auth from "@actions/http-client/auth";
+import * as auth from "@actions/http-client/lib/auth";
9
import * as semver from "semver";
10
11
if (!tempDirectory) {
@@ -66,7 +66,7 @@ async function downloadRelease(version: string): Promise<string> {
66
try {
67
const token: string = core.getInput("token", { required: true });
68
downloadPath = await tc.downloadTool(downloadUrl, undefined, token);
69
- } catch (error) {
+ } catch (error: any) {
70
core.debug(error);
71
throw `Failed to download version ${version}: ${error}`;
72
}
0 commit comments