Skip to content

Commit db20d1c

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

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,8 @@ jobs:
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

0 commit comments

Comments
 (0)