Skip to content

Commit 507be66

Browse files
committed
Fix with symlink
1 parent 082bc32 commit 507be66

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/wallet-e2e.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,16 @@ jobs:
4848
| tar -xzC /usr/local/bin helmfile
4949
helm plugin install https://github.com/databus23/helm-diff --version v3.14.1
5050
51-
- name: Build obol binary
51+
- name: Build obol binary and link dependencies
5252
run: |
5353
mkdir -p .workspace/bin
5454
go build -o .workspace/bin/obol ./cmd/obol
55+
# obol looks for tools in OBOL_BIN_DIR — symlink the globally-installed ones.
56+
for bin in k3d helm helmfile kubectl; do
57+
if command -v "$bin" &>/dev/null && [ ! -e ".workspace/bin/$bin" ]; then
58+
ln -s "$(command -v "$bin")" ".workspace/bin/$bin"
59+
fi
60+
done
5561
5662
- name: Start cluster
5763
run: |

0 commit comments

Comments
 (0)