Skip to content

Commit

Permalink
fix $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
zhilyaev committed Jan 24, 2022
1 parent 94a4d93 commit c6ae835
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Install helmwave
with:
version: '0.17.1'
id: install
- run: ${{ steps.install.outputs.path }} --version
- run: helmwave --version



3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ function run() {
cachedPath = _a.sent();
console.log("Helmwave tool version: '".concat(version, "' has been cached at ").concat(cachedPath));
core.setOutput('path', cachedPath);
if (!process.env['PATH'].startsWith(path.dirname(cachedPath))) {
core.addPath(path.dirname(cachedPath));
}
return [2 /*return*/];
}
});
Expand Down

0 comments on commit c6ae835

Please sign in to comment.