Skip to content

Commit

Permalink
💚 asset grab test 18
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed May 2, 2024
1 parent b1d583e commit 7788de8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
7 changes: 1 addition & 6 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ export async function run(): Promise<void> {
*/

await exec.exec(`
curl -L
-H "Accept: application/octet-stream"
-H "Authorization: Bearer ${pat}"
-H "X-GitHub-Api-Version: 2022-11-28"
-o ${asset.name}
https://api.github.com/repos/vulncheck-oss/cli/releases/assets/${asset.id}
curl -L -H "Accept: application/octet-stream" -H "Authorization: Bearer ${pat}" -H "X-GitHub-Api-Version: 2022-11-28" -o ${asset.name} https://api.github.com/repos/vulncheck-oss/cli/releases/assets/${asset.id}
`)

// Execute ls -la and log the output
Expand Down

0 comments on commit 7788de8

Please sign in to comment.