Make staged macOS voice runtimes writable before packaging (#44080)

## Why

GNU tar extraction and signing require writable copies of Bazel outputs.

## What changed

Recursively add owner write permission to the staged macOS voice runtime before creating the unsigned release archive.

GitOrigin-RevId: 1d415251b26303ac17cf886f35ae18277e9e6032
This commit is contained in:
Benjamin Carlsson
2026-09-09 06:17:19 +00:00
committed by copyberry
parent 56d3e8192f
commit 7b9e7d99bd

View File

@@ -527,6 +527,8 @@ jobs:
PY
mkdir -p "voice-unsigned/${TARGET}"
cp -R "$runtime" "voice-unsigned/${TARGET}/runtime"
# GNU tar extraction and signing need writable copies of Bazel outputs.
chmod -R u+w "voice-unsigned/${TARGET}/runtime"
cp bazel-bin/codex-rs/voice-host/codex-voice-host "voice-unsigned/${TARGET}/codex-voice-host"
tar -C "voice-unsigned/${TARGET}" -czf "voice-unsigned-${TARGET}.tar.gz" runtime codex-voice-host
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0