Skip to content

Commit 96a2c90

Browse files
krukowCopilot
andcommitted
Symlink bb/clj/java to /usr/local/bin for agent PATH access
Setup actions add tools to GITHUB_PATH which may not be visible to the Copilot agent's bash tool. Symlinks to /usr/local/bin ensure tools are accessible. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 68bb715 commit 96a2c90

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
.cpcache
4040
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
4141
restore-keys: cljdeps-
42+
- name: Symlink tools to standard PATH
43+
run: |
44+
sudo ln -sf $(which bb) /usr/local/bin/bb
45+
sudo ln -sf $(which clj) /usr/local/bin/clj
46+
sudo ln -sf $(which clojure) /usr/local/bin/clojure
47+
sudo ln -sf $(which java) /usr/local/bin/java
4248
- name: Install gh-aw extension
4349
uses: github/gh-aw/actions/setup-cli@v0.46.0
4450
with:

.github/workflows/daily-doc-updater.lock.yml

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

0 commit comments

Comments
 (0)