We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afd58b commit b694995Copy full SHA for b694995
.github/workflows/pipeline.yml
@@ -65,6 +65,10 @@ jobs:
65
override: true
66
67
- name: Publish to crates.io
68
- run: cargo publish --workspace --allow-dirty
69
env:
70
- CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
+ run: |
71
+ for dir in $(cargo metadata --format-version 1 | jq -r '.packages[].manifest_path' | xargs -n 1 dirname | sort -u); do
72
+ echo "Publishing $dir..."
73
+ (cd $dir && cargo publish --allow-dirty)
74
+ done
Cargo.toml
@@ -1,4 +1,5 @@
1
[workspace]
2
+resolver = "2"
3
members = [
4
"core",
5
"builders"
0 commit comments