Skip to content

Commit

Permalink
use --target-dir to target with cargo build
Browse files Browse the repository at this point in the history
Signed-off-by: kranurag7 <[email protected]>
  • Loading branch information
kranurag7 committed Oct 23, 2024
1 parent 2112e61 commit 8b32a2c
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 @@ -46,7 +46,7 @@ pipeline:
cd "${{inputs.modroot}}"
# Build and install package(s)
cargo auditable build ${{inputs.opts}}
cargo auditable build --target-dir target "${{inputs.opts}}"
if [[ ! -z "${{inputs.output}}" ]]; then
install -Dm755 "${OUTPUT_PATH}/${{inputs.output}}" "${INSTALL_PATH}/${{inputs.output}}"
else
Expand Down

0 comments on commit 8b32a2c

Please sign in to comment.