Skip to content

feat: add a release-assets action - #1

Merged
gonzalocasas merged 1 commit into
mainfrom
feat/cross-language-serialization
Aug 19, 2026
Merged

feat: add a release-assets action#1
gonzalocasas merged 1 commit into
mainfrom
feat/cross-language-serialization

Conversation

@gonzalocasas

Copy link
Copy Markdown
Member

Packages that ship more than their distributions -- generated protobuf bindings, schema bundles -- were each writing the same four steps: check out, set up Python, run an Invoke task, upload what it produced.

prepare-release can already carry extra assets through its release-assets input, but that ties generating them to invoke pre-build, which runs on every matrix job. Generating bindings for seven languages there would mean running protoc seven times per platform for a wheel build that does not need any of it. This action separates the two, uploading to the same artifact name so github-release attaches whatever it finds.

The invoke-tasks input follows ci@v1 rather than introducing a generic shell-command action, which ARCHITECTURE.md rules out.

Packages that ship more than their distributions -- generated protobuf
bindings, schema bundles -- were each writing the same four steps: check out,
set up Python, run an Invoke task, upload what it produced. compas_pb and
antikythera both had a copy.

prepare-release can already carry extra assets through its release-assets
input, but that ties generating them to `invoke pre-build`, which runs on every
matrix job. Generating bindings for seven languages there would mean running
protoc seven times per platform for a wheel build that does not need any of it.
This action separates the two, uploading to the same artifact name so
github-release attaches whatever it finds.

The invoke-tasks input follows ci@v1 rather than introducing a generic
shell-command action, which ARCHITECTURE.md rules out.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

@chenkasirer chenkasirer left a comment

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.

LGTM!

@gonzalocasas
gonzalocasas merged commit e827ecf into main Aug 19, 2026
2 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.

2 participants