Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rust.yml workflow action to save used space in github
The main changes in this updated workflow are: The use of the rust:1.70-slim-bullseye image Merging of jobs: We have merged the build and release jobs into a single build_and_release job to optimize execution. Extended clean-up process: The clean-up step has been extended to remove more temporary files and directories: rm -rf ~/.cargo/registry: Removes downloaded crates. rm -rf ~/.cargo/git: Removes cloned repositories. df -h: Shows the available disk space, which can help diagnose storage problems. The if: always() condition ensures that the clean-up step is also executed if previous steps have failed. These changes should help to minimize memory consumption within the container
- Loading branch information