Skip to content

ci: add github release workflow #76

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jan 19, 2025
Merged

Conversation

Jayllyz
Copy link
Contributor

@Jayllyz Jayllyz commented Dec 19, 2024

Changes

Adds a release workflow that can be manually triggered via workflow dispatch.

  • First runs a test stage similar to ci.yml that:
    • Tests across multiple platforms (Windows, Ubuntu, MacOS)
    • Includes WASM testing
    • Runs cargo-semver-check on Ubuntu runs
  • If tests pass, runs a publish stage that:
    • Publishes to crates.io
    • Creates git tags
    • Creates GitHub releases

Prerequisites

  • CARGO_REGISTRY_TOKEN secret must be configured in repository settings

Closes #72

A future improvement could be to use a reusable workflow for the test-release workflow.

Copy link
Member

@anonrig anonrig left a comment

Choose a reason for hiding this comment

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

Thank you!

@anonrig anonrig merged commit 915f8c0 into ada-url:main Jan 19, 2025
@Jayllyz Jayllyz deleted the ci/release-workflow branch January 20, 2025 15:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adding cargo-semver-checks
2 participants