@@ -50,29 +50,34 @@ jobs:
5050 - name : Run doc tests
5151 run : cargo test --workspace --doc
5252
53- # Publish in dependency order
53+ # Publish in dependency order (skip already-published crates)
5454 - name : Publish solverforge-core
55- run : cargo publish -p solverforge-core --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
55+ run : cargo publish -p solverforge-core --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
5656 - name : Wait for crates.io
5757 run : sleep 30
5858
5959 - name : Publish solverforge-macros
60- run : cargo publish -p solverforge-macros --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
60+ run : cargo publish -p solverforge-macros --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
6161 - name : Wait for crates.io
6262 run : sleep 30
6363
6464 - name : Publish solverforge-scoring
65- run : cargo publish -p solverforge-scoring --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
65+ run : cargo publish -p solverforge-scoring --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
6666 - name : Wait for crates.io
6767 run : sleep 30
6868
6969 - name : Publish solverforge-config
70- run : cargo publish -p solverforge-config --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
70+ run : cargo publish -p solverforge-config --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
7171 - name : Wait for crates.io
7272 run : sleep 30
7373
7474 - name : Publish solverforge-solver
75- run : cargo publish -p solverforge-solver --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
75+ run : cargo publish -p solverforge-solver --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
76+ - name : Wait for crates.io
77+ run : sleep 30
78+
79+ - name : Publish solverforge-console
80+ run : cargo publish -p solverforge-console --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || echo "Already published"
7681 - name : Wait for crates.io
7782 run : sleep 30
7883
0 commit comments