Skip to content

Commit 79b5796

Browse files
committed
bughunt(maven): fix probe tar path on Windows (temporary)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LC5qKXtVK8kNvRcfSNBijW
1 parent 3d05f2f commit 79b5796

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/bughunt-maven.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
set +e
2828
java -version 2>&1 | head -1
2929
PY=python3; command -v python3 >/dev/null || PY=python
30-
ROOT="$RUNNER_TEMP/bh"; mkdir -p "$ROOT/mvn"
30+
ROOT="$RUNNER_TEMP/bh"; mkdir -p "$ROOT/mvn"; ls "$ROOT/mvn"
3131
for v in 3.6.3 3.9.11 4.0.0-rc-7; do
3232
case $v in 4.*) u=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$v/apache-maven-$v-bin.tar.gz;; *) u=https://archive.apache.org/dist/maven/maven-3/$v/binaries/apache-maven-$v-bin.tar.gz;; esac
33-
curl -sSfL "$u" | tar xz -C "$ROOT/mvn"
33+
(cd "$ROOT/mvn" && curl -sSfL "$u" | tar xz)
3434
done
3535
cat > "$ROOT/probe.py" <<'PYEOF'
3636
import os, sys, json, zipfile, hashlib, subprocess, shutil, tempfile

0 commit comments

Comments
 (0)