From c77d4cdde302f8c5134fc5a1a68b084566d17a92 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 23 Mar 2026 14:57:59 +0100 Subject: [PATCH] Remove Chrome build steps from links.yml Removed Chrome build and installation steps from the workflow. --- .github/workflows/links.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 81cd815..f118bca 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -29,8 +29,6 @@ jobs: sudo apt install python3-pip libnss3 pip install gyp-next export PATH="$PATH:~/.local/bin" # Add gyp to PATH - # For the Chrome version only - sudo apt install golang-go unzip git clone https://github.com/lwthiker/curl-impersonate.git cd curl-impersonate mkdir build && cd build @@ -38,9 +36,6 @@ jobs: # Build and install the Firefox version make firefox-build sudo make firefox-install - # Build and install the Chrome version - make chrome-build - sudo make chrome-install # You may need to update the linker's cache to find libcurl-impersonate sudo ldconfig # Optionally remove all the build files @@ -54,9 +49,9 @@ jobs: declare -A seen check() { local url="$1" http - http=$(curl -sSL -o /dev/null -w "%{http_code}" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)" --max-time 10 -I -- "$url" 2>&1) || http="000" + http=$(curl_ff117 -sSL -o /dev/null -w "%{http_code}" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)" --max-time 10 -I -- "$url" 2>&1) || http="000" [[ "$http" == 2* ]] && return 0 - http=$(curl -sSL -o /dev/null -w "%{http_code}" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)" --max-time 10 -r "0-0" -- "$url" 2>&1) || http="000" + http=$(curl_ff117 -sSL -o /dev/null -w "%{http_code}" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)" --max-time 10 -r "0-0" -- "$url" 2>&1) || http="000" printf '%s\n' "HTTP: $http" [[ "$http" == 2* ]] }