Problem
The rust-build-release shared action has a bin-name input that defaults to rust-toy-app (a test fixture). When workflows do not explicitly pass the bin-name input, the action uses this default value and fails to find the actual binary produced by the build.
Desired Behaviour
The action should:
- Raise an error when multiple binaries exist with no default specified
- Automatically discover a default binary where possible (e.g., when only one binary target exists)
- Not use a test fixture as the default value
Context
Reported by @leynos in PR #226
Related PR: #226
Problem
The
rust-build-releaseshared action has abin-nameinput that defaults torust-toy-app(a test fixture). When workflows do not explicitly pass thebin-nameinput, the action uses this default value and fails to find the actual binary produced by the build.Desired Behaviour
The action should:
Context
Reported by @leynos in PR #226
Related PR: #226