Skip to content

Improve build release workflow#765

Merged
pepone merged 3 commits intoicerpc:mainfrom
pepone:build-release-improvements
Apr 9, 2026
Merged

Improve build release workflow#765
pepone merged 3 commits intoicerpc:mainfrom
pepone:build-release-improvements

Conversation

@pepone
Copy link
Copy Markdown
Member

@pepone pepone commented Apr 9, 2026

A small improvement to the release workflow:

  • Upload builds for non nightly releases.
  • Set the upload path base on the build quality and the slicec version.
  • Use the full Slicec version for the artifact upload.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions release workflow to upload build artifacts for more release qualities and to organize uploads using the slicec version metadata.

Changes:

  • Expose both full slicec version and a derived “channel” value from cargo metadata for downstream jobs.
  • Upload artifacts for all qualities (not just nightly) when running in icerpc/slicec.
  • Compute an S3 upload base path from quality + derived version “channel”, and use it for both S3 upload and CloudFront invalidation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build-release.yml
Comment thread .github/workflows/build-release.yml
Comment thread .github/workflows/build-release.yml Outdated
Comment thread .github/workflows/build-release.yml Outdated
run: |
for file in artifacts/slicec-*.zip; do
aws s3 cp "$file" "s3://zeroc-downloads/icerpc/slicec/${{ inputs.quality }}/${{ needs.metadata.outputs.version }}/"
aws s3 cp "$file" "s3://zeroc-downloads/icerpc/${S3_PATH}/"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move slicec into this part of the upload. and keep the rest in S3_PATH, or move everything (the whole URI) into S3_PATH.

Copy link
Copy Markdown
Member

@InsertCreativityHere InsertCreativityHere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me!

@pepone pepone merged commit 41af3f0 into icerpc:main Apr 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants