We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 896a8ad commit 094d945Copy full SHA for 094d945
1 file changed
.github/scripts/manylinux_build_and_test.sh
@@ -9,6 +9,15 @@ export PYTHONPATH="$PWD${PYTHONPATH:+:${PYTHONPATH}}"
9
# Ensure dependency archives are read from the restored workspace cache even in isolated builds.
10
export PYXMLSEC_LIBS_DIR="$PWD/libs"
11
12
+# Step: Allow Git access to the mounted workspace for SCM version discovery
13
+echo "== [container] Step: Configure Git safe.directory =="
14
+if command -v git >/dev/null 2>&1; then
15
+ if [ -n "${PWD:-}" ]; then
16
+ git config --global --add safe.directory "$PWD"
17
+ echo "GIT_SAFE_DIRECTORY=$PWD"
18
+ fi
19
+fi
20
+
21
# Step: Install system build dependencies (manylinux only)
22
echo "== [container] Step: Install system build dependencies (manylinux only) =="
23
case "$MANYLINUX_IMAGE" in
0 commit comments