Skip to content

Commit 101ce8e

Browse files
Jörn Rothpatrickelectric
authored andcommitted
ci: split cargo wrokspace publish, add version dependencies
1 parent 9dde7bf commit 101ce8e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
cargo workspaces version custom ${{ steps.get_version.outputs.version }} \
3535
--exact --yes --no-git-tag --no-git-push \
3636
-m "Commit new release ${{ steps.get_version.outputs.version }}"
37-
cargo workspaces publish --yes --no-verify --publish-as-is
37+
cargo publish -p mavlink-core --no-verify
38+
cargo publish -p mavlink-bindgen --no-verify
39+
cargo publish -p mavlink --no-verify
3840
- name: Push commit
3941
run: |
4042
git push origin ${{ github.event.repository.default_branch }}

mavlink/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ edition.workspace = true
1919
rust-version.workspace = true
2020

2121
[build-dependencies]
22-
mavlink-bindgen = { path = "../mavlink-bindgen", default-features = false }
22+
mavlink-bindgen = { version = "0.13.2", path = "../mavlink-bindgen", default-features = false }
2323

2424
[[example]]
2525
name = "mavlink-dump"
2626
path = "examples/mavlink-dump/src/main.rs"
2727
required-features = ["ardupilotmega"]
2828

2929
[dependencies]
30-
mavlink-core = { path = "../mavlink-core", default-features = false }
30+
mavlink-core = { version="0.14.0", path = "../mavlink-core", default-features = false }
3131
num-traits = { workspace = true, default-features = false }
3232
num-derive = { workspace = true }
3333
bitflags = { workspace = true }

0 commit comments

Comments
 (0)