Skip to content

CICD: Streamlined Release & Crates.io CD Workflow#188

Merged
luizvbo merged 2 commits into
mainfrom
cicd/update-cd
Sep 7, 2025
Merged

CICD: Streamlined Release & Crates.io CD Workflow#188
luizvbo merged 2 commits into
mainfrom
cicd/update-cd

Conversation

@luizvbo

@luizvbo luizvbo commented Sep 7, 2025

Copy link
Copy Markdown
Owner

This PR refactors the CD workflow (.github/workflows/cd.yml) for releases, focusing on efficiency and expanded platform support.

Key Changes:

  • Release-Driven Trigger: Workflow now activates on GitHub Release creation (release: types: [created]).
  • Consolidated Artifact Build: A single, matrix-driven create-release-artifacts job builds binaries for Linux (x86_64, aarch64, i686), macOS (x86_64, aarch64), and now Windows (x86_64). It includes improved cross-compilation setup and standardizes artifact naming and upload.
  • Simplified Crates.io Publish: The publish-to-crates job now uses cargo publish directly, with conditional dry-runs for pre-releases, removing cargo-release dependency and old flags.
  • Clearer Scope: This workflow is now dedicated to release artifact generation and crates.io publishing, separating it from general testing.

@luizvbo luizvbo changed the title Cicd/update cd CICD: Streamlined Release & Crates.io CD Workflow Sep 7, 2025
@luizvbo luizvbo merged commit 6c97225 into main Sep 7, 2025
14 checks passed
@luizvbo luizvbo deleted the cicd/update-cd branch September 7, 2025 08:06
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.

1 participant