fix(argo): ensure-binary cp from CARGO_TARGET_DIR, not in-tree target/
CARGO_TARGET_DIR=/cargo-target redirects all build output away from the in-tree `<crate>/target/` path, so `cp $BUILD/target/release/...` fails after a successful compile. Mirror alpha-perception-template's correct pattern: `cp $CARGO_TARGET_DIR/release/...`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -220,7 +220,7 @@ spec:
|
||||
fi
|
||||
|
||||
cargo build -p fxt-backtest --release
|
||||
cp "$BUILD/target/release/fxt-backtest" "$BIN_DIR/fxt-backtest"
|
||||
cp "$CARGO_TARGET_DIR/release/fxt-backtest" "$BIN_DIR/fxt-backtest"
|
||||
echo "$SHORT_SHA" > /tmp/sha
|
||||
ls -lh "$BIN_DIR/fxt-backtest"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user