Skip to content

Commit 7d568d7

Browse files
committed
fix CI: clone path deps before build
1 parent 3eb80d0 commit 7d568d7

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/release-cli.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ jobs:
2626

2727
- name: Install Rust
2828
uses: dtolnay/rust-toolchain@stable
29+
with:
30+
targets: ${{ matrix.target }}
31+
32+
- name: Setup dependencies
33+
run: |
34+
# Create the expected parent directory structure for path deps
35+
# path = "../../../../packages/..." from src/cli/ means:
36+
# .. = src/, ../.. = repo root, ../../.. = parent, ../../../.. = grandparent
37+
GRANDPARENT=$(cd .. && pwd)/..
38+
mkdir -p "$GRANDPARENT/packages"
39+
cd "$GRANDPARENT/packages"
40+
git clone https://github.com/quanttide/quanttide-agent-toolkit.git --depth 1
41+
git clone https://github.com/quanttide/quanttide-data-toolkit.git --depth 1
42+
shell: bash
2943

3044
- name: Build
3145
run: cargo build --release --target ${{ matrix.target }}

0 commit comments

Comments
 (0)