Skip to content

Commit

Permalink
Merge pull request #1333 from jalmeroth/main
Browse files Browse the repository at this point in the history
fix(cargo/build): test for non-zero length
  • Loading branch information
EyeCantCU authored Jul 13, 2024
2 parents 2f1e784 + c878df8 commit e855ba4
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 e855ba4

Please sign in to comment.