mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
Advance latest-alpha-cli after release publishing completes (#35818)
## What changed Make the `update-branch` job wait for successful R2 publication before moving `latest-alpha-cli`. For releases that publish npm packages, also require the npm job to succeed; releases that intentionally skip npm publication can still advance the branch. GitOrigin-RevId: 38381b82c95c5c9650b2d72258ea7b835bdfa555
This commit is contained in:
committed by
copyberry
parent
709283b432
commit
dd6b880353
13
.github/workflows/rust-release.yml
vendored
13
.github/workflows/rust-release.yml
vendored
@@ -1637,11 +1637,20 @@ jobs:
|
||||
if: >-
|
||||
${{
|
||||
!cancelled() &&
|
||||
needs.release.result == 'success'
|
||||
needs.release.result == 'success' &&
|
||||
needs.publish-r2.result == 'success' &&
|
||||
(
|
||||
needs.release.outputs.should_publish_npm != 'true' ||
|
||||
needs.publish-npm.result == 'success'
|
||||
)
|
||||
}}
|
||||
permissions:
|
||||
contents: write
|
||||
needs: release
|
||||
# R2 waits for the GitHub release and DotSlash release-asset uploads.
|
||||
needs:
|
||||
- release
|
||||
- publish-r2
|
||||
- publish-npm
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user