Skip to content

Commit 8180683

Browse files
Merge pull request #11
2 parents d4d3bb0 + 9f08280 commit 8180683

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ async function installGitHubReleaseBinary(
8787
if (fs.existsSync(destinationFilename)) {
8888
if (ignoreExisting) {
8989
core.info(`Binary already exists at ${destinationFilename}, ignoring and leaving system as-is`);
90+
// Still add the directory to PATH so the binary can be found
91+
core.addPath(destinationDirectory);
9092
return;
9193
}
9294
}

0 commit comments

Comments
 (0)