mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Fix rust-release run ID parsing in ci npm staging
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -51,7 +51,8 @@ jobs:
|
||||
fi
|
||||
|
||||
for WORKFLOW_URL in $WORKFLOW_URLS; do
|
||||
CODEX_VERSION="$(gh run view "$WORKFLOW_URL" --json headBranch -q '.headBranch | sub("^rust-v"; "")')"
|
||||
WORKFLOW_ID="${WORKFLOW_URL##*/}"
|
||||
CODEX_VERSION="$(gh run view "$WORKFLOW_ID" --json headBranch -q '.headBranch | sub("^rust-v"; "")')"
|
||||
|
||||
echo "Attempting npm staging from ${WORKFLOW_URL} (version ${CODEX_VERSION})."
|
||||
if python3 ./scripts/stage_npm_packages.py \
|
||||
|
||||
Reference in New Issue
Block a user