mirror of
https://github.com/openai/codex.git
synced 2026-05-16 09:12:54 +00:00
This is the exact same change as @bolinfest made but he could not push because of github action change permission. ## Why The `rust-release` workflow can now be run manually with `sign_macos=false` to skip macOS signing, but that path previously stopped before creating a GitHub Release. That left the unsigned macOS binaries available only as workflow-run artifacts, which are awkward to fetch from automation and cannot be retrieved with a simple unauthenticated `curl`. For the unsigned path we still should not perform the normal release side effects: no npm or Python publishing, no WinGet publishing, no `latest-alpha-cli` branch update, and no promotion to GitHub's latest release. The goal is only to make the build outputs easy to fetch from the release page. ## What changed - Allow the `release` job in `.github/workflows/rust-release.yml` to run for `workflow_dispatch` runs with `sign_macos=false`. - For unsigned runs, keep the unsigned macOS artifacts plus the normal Linux and Windows release artifacts needed for DotSlash, then create/update the GitHub Release with `make_latest: false`. - Keep the normal publish/promote paths gated to signed releases: - npm staging and publish - Python runtime publish - WinGet publish - `latest-alpha-cli` update - developer-site deploy - normal DotSlash release files - Add `.github/dotslash-unsigned-config.json`, which publishes `*-unsigned` DotSlash files that use unsigned macOS artifacts and the normal Linux/Windows artifacts. ## What I added PLEASE READ THIS!!! I added `codex-command-runner` and `codex-windows-sandbox-setup` entries to `.github/dotslash-unsigned-config.json` so that with `sign_macos=false` we would still get the dotslash files for those artifacts which are necessary for windows builds.
125 lines
4.0 KiB
JSON
125 lines
4.0 KiB
JSON
{
|
|
"outputs": {
|
|
"codex-unsigned": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-aarch64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-x86_64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-x86_64-unknown-linux-musl-bundle\\.tar\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-aarch64-unknown-linux-musl-bundle\\.tar\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-app-server-unsigned": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-responses-api-proxy-unsigned": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-apple-darwin-unsigned\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
}
|
|
}
|
|
},
|
|
"bwrap": {
|
|
"platforms": {
|
|
"linux-x86_64": {
|
|
"regex": "^bwrap-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "bwrap"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^bwrap-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "bwrap"
|
|
}
|
|
}
|
|
},
|
|
"codex-command-runner": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-command-runner-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-command-runner-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-windows-sandbox-setup": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-windows-sandbox-setup-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-windows-sandbox-setup-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|