Skip to content

Commit 2e53367

Browse files
committed
fix CI issue
1 parent 3594351 commit 2e53367

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,19 @@ jobs:
3030
run: |
3131
# Use the official install script
3232
curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh | sh
33-
# The install script puts the binary in a local bin directory, move it to system path
34-
sudo mv bin/oasdiff /usr/local/bin/
33+
# Check where oasdiff was actually installed
34+
which oasdiff || echo "oasdiff not in PATH, checking local directories..."
35+
ls -la ./
36+
ls -la bin/ 2>/dev/null || echo "No bin/ directory"
37+
ls -la ./bin/ 2>/dev/null || echo "No ./bin/ directory"
38+
# Try to find where the binary actually is
39+
find . -name "oasdiff" -type f 2>/dev/null || echo "Binary not found in current directory"
40+
# If it's not already in PATH, try to find and move it
41+
if ! which oasdiff; then
42+
if [ -f "./oasdiff" ]; then
43+
sudo mv ./oasdiff /usr/local/bin/
44+
fi
45+
fi
3546
# Verify installation
3647
oasdiff --version
3748
- run: npm ci

0 commit comments

Comments
 (0)