Skip to content

Commit

Permalink
fix: test4
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Dec 24, 2024
1 parent a41eb56 commit d0f903b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ jobs:
cp -r "$dir" "build/$dir"
fi
done
# Remove workspace configuration and update paths
# Remove workspace configuration and add empty workspace table
cd build/autonomi
sed -i '/^workspace/d' Cargo.toml
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' {} \;
- name: Build sdist
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ jobs:
cp -r "$dir" "build/$dir"
fi
done
# Remove workspace configuration and update paths
# Remove workspace configuration and add empty workspace table
cd build/ant-node
sed -i '/^workspace/d' Cargo.toml
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' {} \;
- name: Build sdist
Expand Down

0 comments on commit d0f903b

Please sign in to comment.