Skip to content

Commit 8b8328d

Browse files
committed
fix CI issue
1 parent 18916b8 commit 8b8328d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ jobs:
2828
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
2929
- name: Install oasdiff
3030
run: |
31-
curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh | sh
32-
sudo mv ./bin/oasdiff /usr/local/bin/
31+
# Download the latest oasdiff binary for Linux
32+
curl -fsSL -o oasdiff "https://github.com/oasdiff/oasdiff/releases/latest/download/oasdiff_linux_amd64"
33+
chmod +x oasdiff
34+
sudo mv oasdiff /usr/local/bin/
35+
# Verify installation
36+
oasdiff --version
3337
- run: npm ci
3438
if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }}
3539
- run: npm run compile

0 commit comments

Comments
 (0)