Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ci: add github release workflow #76

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Jayllyz
Copy link

@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.

.github/workflows/release.yml Show resolved Hide resolved
.github/workflows/release.yml Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
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!

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.

adding cargo-semver-checks
2 participants