File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments