Skip to content

Commit

Permalink
fix: improved downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp committed Jun 17, 2024
1 parent 65cc8c9 commit cdfca73
Show file tree
Hide file tree
Showing 17 changed files with 13,149 additions and 9,910 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Setup Canarycage'
description: 'Download and add cage to the PATH'
author: 'LoiLo'
name: "Setup Canarycage"
description: "Download and add cage to the PATH"
author: "LoiLo"
inputs:
github-token:
description: "Use secrets.GITHUB_TOKEN."
Expand All @@ -9,5 +9,5 @@ inputs:
description: "Canarycage version. If no version specified, the latest version will be used automatically."
required: false
runs:
using: 'node20'
main: 'lib/index.js'
using: "node20"
main: "lib/index.js"
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function main() {
);
}
if (!(await io.which("cage", false))) {
await downloadCage({ version });
await downloadCage({ version, token });
}
} catch (e) {
if (e instanceof Error) {
Expand Down
Loading

0 comments on commit cdfca73

Please sign in to comment.