Skip to content

Commit df4689b

Browse files
committed
fix(ci): replace a3s-ahp path dependency with crates.io version in setup-workspace.sh
1 parent 665201d commit df4689b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/setup-workspace.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ sed -i.bak \
1414
-e 's|a3s-lane = { version = "0.4", path = "../../lane" }|a3s-lane = "0.4"|' \
1515
-e 's|a3s-search = { version = "0.9", path = "../../search", default-features = false }|a3s-search = { version = "0.9", default-features = false }|' \
1616
-e 's|a3s-box-sdk = { version = "0.7", path = "../../box/src/sdk", optional = true }|a3s-box-sdk = { version = "0.7", optional = true }|' \
17+
-e 's|a3s-ahp = { version = "2.0", path = "../../ahp", optional = true, features = \["http", "websocket", "unix-socket"\] }|a3s-ahp = { version = "2.0", optional = true, features = ["http", "websocket", "unix-socket"] }|' \
1718
core/Cargo.toml
1819
rm -f core/Cargo.toml.bak
1920

@@ -29,4 +30,10 @@ sed -i.bak \
2930
sdk/node/Cargo.toml
3031
rm -f sdk/node/Cargo.toml.bak
3132

33+
# core/Cargo.toml — replace ahp path dep in dev-dependencies
34+
sed -i.bak \
35+
-e 's|a3s-ahp = { path = "../../ahp" }|a3s-ahp = "2.0"|' \
36+
core/Cargo.toml
37+
rm -f core/Cargo.toml.bak
38+
3239
echo "Path dependencies replaced. Ready to build."

0 commit comments

Comments
 (0)