-
Notifications
You must be signed in to change notification settings - Fork 123
Description
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:
- https://github.com/Mooling0602/Daemon_Console_Rust/actions/runs/19165853500
- https://github.com/Mooling0602/Daemon_Console_Rust/actions/runs/18746468997
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!