Skip to content

Commit

Permalink
add header
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Jun 8, 2024
1 parent 3e9426c commit 0ddec5c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
27 changes: 18 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@actions/io": "^1.0.2",
"@actions/tool-cache": "^1.6.1",
"@actions/tool-cache": "^2.0.1",
"@octokit/types": "^5.5.0",
"got": "^11.8.1",
"uuidv4": "^6.2.6"
Expand Down
5 changes: 4 additions & 1 deletion src/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ export class Downloader {
core.setOutput("asset-name", asset.name);

const dest = await tc.downloadTool(
asset.browser_download_url,
asset.url,
this.cfg.installPath ? this.cfg.installPath : undefined,
this.cfg.token,
{
accept: "application/octet-stream",
},
);

core.debug(`Download asset: ${asset.name}`);
Expand Down

0 comments on commit 0ddec5c

Please sign in to comment.