Skip to content

Commit

Permalink
fix: test5
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Dec 24, 2024
1 parent d0f903b commit 415bb13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ jobs:
run: |
mkdir -p build/autonomi
cp -r autonomi/* build/autonomi/
# Copy all workspace dependencies locally
for dir in ant-*; do
# Copy all possible workspace dependencies locally
for dir in ant-* test-utils evmlib; do
if [ -d "$dir" ]; then
cp -r "$dir" "build/$dir"
fi
Expand All @@ -164,6 +164,9 @@ jobs:
echo -e "\n[workspace]" >> Cargo.toml
# Update dependency paths to be relative to the build directory
find . -name "Cargo.toml" -exec sed -i 's|path = "\.\./|path = "../|g' {} \;
# Display copied directories for debugging
echo "Contents of build directory:"
ls -la ../
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/python-publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ jobs:
run: |
mkdir -p build/ant-node
cp -r ant-node/* build/ant-node/
# Copy all workspace dependencies locally
for dir in ant-*; do
# Copy all possible workspace dependencies locally
for dir in ant-* test-utils evmlib; do
if [ -d "$dir" ]; then
cp -r "$dir" "build/$dir"
fi
Expand All @@ -164,6 +164,9 @@ jobs:
echo -e "\n[workspace]" >> Cargo.toml
# Update dependency paths to be relative to the build directory
find . -name "Cargo.toml" -exec sed -i 's|path = "\.\./|path = "../|g' {} \;
# Display copied directories for debugging
echo "Contents of build directory:"
ls -la ../
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 415bb13

Please sign in to comment.