From 0b24907414ea41d19926a499ac432b36caf35874 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 25 Dec 2024 20:43:48 +0100 Subject: [PATCH] Remove sudo from links.yml (#138) Signed-off-by: Glenn Jocher --- .github/workflows/links.yml | 2 +- .github/workflows/links_local.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index a9646e9a3f..322920aab6 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -26,7 +26,7 @@ jobs: - name: Download and install lychee run: | LYCHEE_URL=$(curl -s https://api.github.com/repos/lycheeverse/lychee/releases/latest | grep "browser_download_url" | grep "x86_64-unknown-linux-gnu.tar.gz" | cut -d '"' -f 4) - curl -L $LYCHEE_URL | sudo tar xz -C /usr/local/bin + curl -L $LYCHEE_URL | tar xz -C /usr/local/bin - name: Download Website run: | diff --git a/.github/workflows/links_local.yml b/.github/workflows/links_local.yml index 46659ca84a..c72f78f9b5 100644 --- a/.github/workflows/links_local.yml +++ b/.github/workflows/links_local.yml @@ -33,7 +33,7 @@ jobs: - name: Download and install lychee run: | LYCHEE_URL=$(curl -s https://api.github.com/repos/lycheeverse/lychee/releases/latest | grep "browser_download_url" | grep "x86_64-unknown-linux-gnu.tar.gz" | cut -d '"' -f 4) - curl -L $LYCHEE_URL | sudo tar xz -C /usr/local/bin + curl -L $LYCHEE_URL | tar xz -C /usr/local/bin - name: Test Markdown and HTML links with retry uses: ultralytics/actions/retry@main