Skip to content

rust-build-release action: bin-name should auto-detect binary instead of defaulting to test fixture #229

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions