Skip to content

Commit 66554d2

Browse files
authored
Fix lychee install workflow (#13747)
1 parent dc372d9 commit 66554d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/links.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- uses: actions/checkout@v6
2626

2727
- name: Install lychee
28-
run: curl -sSfL "https://github.com/lycheeverse/lychee/releases/latest/download/lychee-x86_64-unknown-linux-gnu.tar.gz" | sudo tar xz -C /usr/local/bin
28+
run: |
29+
curl -sSfL "https://github.com/lycheeverse/lychee/releases/latest/download/lychee-x86_64-unknown-linux-gnu.tar.gz" |
30+
sudo tar xz --strip-components=1 -C /usr/local/bin lychee-x86_64-unknown-linux-gnu/lychee
2931
3032
- name: Test Markdown and HTML links with retry
3133
uses: ultralytics/actions/retry@main

0 commit comments

Comments
 (0)