Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Advance latest-alpha-cli after release publishing completes (#35818)

Adam Perry @ OpenAIdd6b8803538c
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index 359e511ce1..e8797d0789 100644
--- a/.github/workflows/rust-release.yml
+++ b/.github/workflows/rust-release.yml
@@ -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: