Skip to content

Commit b0d22ef

Browse files
RoyLinRoyLin
authored andcommitted
fix(ci): remove a3s-ahp dependency in CI builds
a3s-ahp is not published to crates.io yet, so remove it from SDK dependencies during CI builds to allow standalone compilation.
1 parent 594512d commit b0d22ef

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/setup-workspace.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,16 @@ sed -i.bak \
1717
core/Cargo.toml
1818
rm -f core/Cargo.toml.bak
1919

20+
# sdk/python/Cargo.toml — remove a3s-ahp dependency (not published to crates.io yet)
21+
sed -i.bak \
22+
-e '/a3s-ahp = { version = "0.1", path = "\.\.\/\.\.\/\.\.\/ahp" }/d' \
23+
sdk/python/Cargo.toml
24+
rm -f sdk/python/Cargo.toml.bak
25+
26+
# sdk/node/Cargo.toml — remove a3s-ahp dependency (not published to crates.io yet)
27+
sed -i.bak \
28+
-e '/a3s-ahp = { version = "0.1", path = "\.\.\/\.\.\/\.\.\/ahp" }/d' \
29+
sdk/node/Cargo.toml
30+
rm -f sdk/node/Cargo.toml.bak
31+
2032
echo "Path dependencies replaced. Ready to build."

0 commit comments

Comments
 (0)