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:
parent
2cc0962d11
commit
c94d031f0b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue