Skip to content

Commit

Permalink
fix cachedir (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-hanz-ops authored Jul 25, 2022
1 parent e1f4e01 commit f5664a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6106,7 +6106,7 @@ async function getGhCli(version) {
}

async function downloadGhCli(version) {
const toolDirectoryName = `gh-cli-v${version}`;
const toolDirectoryName = `gh_${version}_linux_amd64`;
const downloadUrl = `https://github.com/cli/cli/releases/download/v${version}/gh_${version}_linux_amd64.tar.gz`;
console.log(`downloading ${downloadUrl}`);

Expand Down
2 changes: 1 addition & 1 deletion src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function getGhCli(version) {
}

async function downloadGhCli(version) {
const toolDirectoryName = `gh-cli-v${version}`;
const toolDirectoryName = `gh_${version}_linux_amd64`;
const downloadUrl = `https://github.com/cli/cli/releases/download/v${version}/gh_${version}_linux_amd64.tar.gz`;
console.log(`downloading ${downloadUrl}`);

Expand Down

0 comments on commit f5664a9

Please sign in to comment.