Skip to content

Commit 0ddec5c

Browse files
committed
add header
1 parent 3e9426c commit 0ddec5c

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

package-lock.json

+18-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@actions/core": "^1.2.6",
2929
"@actions/github": "^4.0.0",
3030
"@actions/io": "^1.0.2",
31-
"@actions/tool-cache": "^1.6.1",
31+
"@actions/tool-cache": "^2.0.1",
3232
"@octokit/types": "^5.5.0",
3333
"got": "^11.8.1",
3434
"uuidv4": "^6.2.6"

src/downloader.ts

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

7171
const dest = await tc.downloadTool(
72-
asset.browser_download_url,
72+
asset.url,
7373
this.cfg.installPath ? this.cfg.installPath : undefined,
7474
this.cfg.token,
75+
{
76+
accept: "application/octet-stream",
77+
},
7578
);
7679

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

0 commit comments

Comments
 (0)