[CI] Fix the optimized-WASM artifact upload path in deploy-contracts workflow
Overview & Background
The "Deploy Soroban Contracts" workflow builds and optimizes into target/wasm32-unknown-unknown/release/ (stellar contract optimize --wasm "$w" --wasm-out "$RELEASE_DIR/stream_contract.optimized.wasm"), but the upload step reads contracts/target/wasm32-unknown-unknown/optimized/*.wasm — a directory this workflow never creates. With if-no-files-found: error, the "Upload Optimized WASM Artifact" step must fail, so the release-deploy pipeline is broken end-to-end. ci.yml:354-359 correctly uploads from release/, so the two workflows disagree.
Technical Specification & Architecture
- Point the upload path at
contracts/target/wasm32-unknown-unknown/release/*.optimized.wasm(or write the optimized file tooptimized/) in.github/workflows/deploy-contracts.yml:122-123. - Add a smoke check that the file exists before upload.
- Reconcile with the
ci.ymlupload path so both workflows agree.
Target Files
.github/workflows/deploy-contracts.yml.github/workflows/ci.yml
Acceptance Criteria
- [ ] The upload step finds and uploads the optimized WASM.
- [ ] A dry run of the workflow passes the artifact step.
- [ ] Both workflows reference the same artifact directory.
@esegbueadam-sys has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hi, maintainer. I would like to work on this issue.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @esegbueadam-sys to this issue.
@Ayomikun2005 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
allow me do thus
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ayomikun2005 to this issue.
Congratulations, @Ayomikun2005! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @Ayomikun2005: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @Ayomikun2005 as part of the Stellar Wave Program's 11th Wave 🥳
😎 @Ayomikun2005: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.