Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if [[ "$USE_MANYLINUX" == "1" && -z "${BUILD_SH_IN_MANYLINUX:-}" ]]; then
docker run --rm \
-e BUILD_SH_IN_MANYLINUX=1 \
-e BUILD_SH_REUSE_MANYLINUX_ARTIFACTS="${BUILD_SH_REUSE_MANYLINUX_ARTIFACTS:-}" \
-e BUILD_SH_HOST_UID="$(id -u)" \
-e BUILD_SH_HOST_GID="$(id -g)" \
-e HOME=/tmp \
-e UV_CACHE_DIR=/work/.uv-cache \
-e UV_PYTHON=/opt/python/cp312-cp312/bin/python3 \
Expand Down Expand Up @@ -80,3 +82,9 @@ du -hs dist/* | sort -hr

echo
echo "Done in $((SECONDS - START_SECS))s"

# Hand workspace ownership back to the host runner so actions/cache can
# tar everything we just produced (manylinux runs as root).
if [[ -n "${BUILD_SH_IN_MANYLINUX:-}" && -n "${BUILD_SH_HOST_UID:-}" ]]; then
chown -R "$BUILD_SH_HOST_UID:${BUILD_SH_HOST_GID:-0}" "$ROOT_DIR"
fi
Loading