Skip to content

Commit b694995

Browse files
committed
Update CI/CD pipeline
Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 0afd58b commit b694995

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/pipeline.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
override: true
6666

6767
- name: Publish to crates.io
68-
run: cargo publish --workspace --allow-dirty
6968
env:
70-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
69+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
70+
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
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
members = [
34
"core",
45
"builders"

0 commit comments

Comments
 (0)