diff --git a/pkg/build/pipelines/cargo/build.yaml b/pkg/build/pipelines/cargo/build.yaml index 366b20113..3b5244b6a 100644 --- a/pkg/build/pipelines/cargo/build.yaml +++ b/pkg/build/pipelines/cargo/build.yaml @@ -36,11 +36,16 @@ inputs: Directory where binaries will be installed default: bin + output-dir: + description: | + Directory where the binaris will be placed after building. Defaults to target/release + default: target/release + pipeline: - runs: | # Installation directory should always be bin as we are producing a binary INSTALL_PATH="${{targets.contextdir}}/${{inputs.prefix}}/${{inputs.install-dir}}" - OUTPUT_PATH="target/release" + OUTPUT_PATH="${{inputs.output-dir}}" # Enter target package directory cd "${{inputs.modroot}}"