Skip to content

Commit cf1ba42

Browse files
committed
fix header
1 parent 0ddec5c commit cf1ba42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/downloader.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,15 @@ export class Downloader {
6868
core.setOutput("asset-id", asset.id);
6969
core.setOutput("asset-name", asset.name);
7070

71+
console.log(inspect(asset, { depth: null }));
72+
7173
const dest = await tc.downloadTool(
7274
asset.url,
7375
this.cfg.installPath ? this.cfg.installPath : undefined,
74-
this.cfg.token,
76+
undefined,
7577
{
7678
accept: "application/octet-stream",
79+
authorization: `token ${this.cfg.token}`,
7780
},
7881
);
7982

0 commit comments

Comments
 (0)