From c72af7f66f94de8a498858fb2039757557dd439c Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 8 Jul 2026 13:33:38 +1000 Subject: [PATCH] linkcheck: pass explicit `-f -` to tar when extracting from the curl pipe Make stdin extraction explicit (tar -xzf -) rather than relying on GNU tar's compiled-in default archive device. Backports the fix from QuantEcon/lecture-python.myst#953 for consistency across the migrated linkcheck workflows. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/linkcheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 41041772..ff91e585 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -30,7 +30,7 @@ jobs: run: | set -euo pipefail mkdir -p _site - curl -fsSL "${{ steps.release.outputs.asset-url }}" | tar -xz -C _site + curl -fsSL "${{ steps.release.outputs.asset-url }}" | tar -xzf - -C _site - name: AI-Powered Link Checker uses: QuantEcon/action-link-checker@main with: