Skip to content

Commit

Permalink
Only keep lib/ in publish-libs
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Aug 12, 2024
1 parent 59c6eae commit c875467
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run: |
git config --global user.email "runner@gha.local"
git config --global user.name "GitHub Action"
# Remove r-a crates from the workspaces so we don't auto-publish them as well
sed -i 's/"crates\/\*"//' ./Cargo.toml
sed -i 's/"xtask\/"//' ./Cargo.toml
# Only publish the crates under lib/
sed -i 's|^members = .*$|members = ["lib/*"]|' Cargo.toml
cargo workspaces publish --yes --exact --from-git --no-git-commit --allow-dirty

0 comments on commit c875467

Please sign in to comment.