Skip to content

Commit

Permalink
fix(cargo/build): test for non-zero length
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Almeroth <jan@almeroth.com>
  • Loading branch information
jalmeroth committed Jun 28, 2024
1 parent f0da690 commit 69ca9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/pipelines/cargo/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pipeline:
# Build and install package(s)
cargo auditable build "${{inputs.opts}}"
if [[ -z "${{inputs.output}}" ]]; then
if [[ ! -z "${{inputs.output}}" ]]; then
install -Dm755 "${OUTPUT_PATH}/${{inputs.output}}" "${INSTALL_PATH}/${{inputs.output}}"
else
install -Dm755 "${OUTPUT_PATH}"/* -t "${INSTALL_PATH}"
Expand Down

0 comments on commit 69ca9ae

Please sign in to comment.