File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 2828 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
2929 - name : Install oasdiff
3030 run : |
31- # Use the official install script
31+ # Use the official install script - it installs directly to /usr/local/bin/
3232 curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh | sh
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
4633 # Verify installation
4734 oasdiff --version
4835 - run : npm ci
You can’t perform that action at this time.
0 commit comments