Skip to content

[Feature PR] Improve ci configuration for .github/workflows/release.yml #2191

@Mooling0602

Description

@Mooling0602

I've found shortcomings in the current release.yml file: in the "Install Rust non-interactively if not already installed" section, if rustc and cargo tools are already installed, the installation step is skipped, ultimately causing the build of the product to fail when the pre-installed tool version is lower than the minimum required by the project.

It caused some errors in my project's Actions tasks:

I wrote a better release.yml template file, it reads rust-version option in Cargo.toml, and if current rust (cargo/rustc) version lower than it, then reinstall rust tools to latest version.

I want to make a pull request to merge the release.yml file I modified with ChatGPT. I'll do it later and refer to this issue there.

I want to make a contribution to this great project and hope it gets better!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions