fix: explicitly set PATH for cargo in build-binaries step

- Added export PATH=/usr/local/cargo/bin:$PATH to ensure cargo is found
- Fixes exit code 127 (command not found) in build-binaries step
This commit is contained in:
jedarden 2026-07-02 08:34:40 -04:00
parent 2cc0962d11
commit c94d031f0b

View file

@ -101,6 +101,9 @@ spec:
set -e
TAG="{{inputs.parameters.tag}}"
# Ensure PATH includes cargo
export PATH="/usr/local/cargo/bin:$PATH"
# Clone the repo at the tag to workspace for sharing with later steps
git clone --depth 1 --branch "$TAG" https://github.com/jedarden/miroir.git /workspace/src
cd /workspace/src