upload-rust-binary-action
upload-rust-binary-action copied to clipboard
Question: How to add library dependency to build action
For my project https://github.com/gintsgints/raiti I have build actions which requires alsa library added to linux-gnu build machine. For now job fails on linux because this library is not installed.
How I can do this?
This repository is about create-gh-release-action which has no build stuff, so assuming you are talking about upload-rust-binary-action.
- For native compilation, it can probably be installed by calling APT before running upload-rust-binary-action.
- For cross compilation with the default method, please refer to Cross's Wiki on how to add dependencies.
- However, for aarch64 linux-gnu, it may be better to use the Arm runner of GitHub Actions (e.g., ubuntu-24.04-arm) instead of cross compilation.