Skip to content

Commit

Permalink
CI: trying to dry run deploy all dependencies
Browse files Browse the repository at this point in the history
Added README.md files to dependent projects
Added version and path dependencies to proto-mapper macro
  • Loading branch information
fpaschos committed Oct 31, 2023
1 parent 69562ba commit 8916368
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
env:
CRATES_IO_TOKEN: ${{ secrets.crates_io_token }}

- name: Dry run publish proto-mapper
run: cargo publish --dry-run --manifest-path Cargo.toml -p proto-mapper-core

- name: Dry run publish proto-mapper
run: cargo publish --dry-run --manifest-path Cargo.toml -p proto-mapper-derive

- name: Dry run publish proto-mapper
run: cargo publish --dry-run --manifest-path Cargo.toml -p proto-mapper
# - name: Publish crate prot-0mapper
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resolver = "2"
members = ["proto-mapper-core", "proto-mapper-derive"]

[dependencies]
proto-mapper-derive = { path = "proto-mapper-derive" }
proto-mapper-derive = { path = "proto-mapper-derive", version = "0.1.0"}
anyhow = "1.0.75"


Expand Down
2 changes: 1 addition & 1 deletion proto-mapper-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ darling = "0.20.3"
heck = "0.4.1"
proc-macro2 = "1.0.67"
quote = "1.0.33"
syn = {version = "2.0.37", features = ["full", "fold"] }
syn = { version = "2.0.37", features = ["full", "fold"] }

[features]
prost = []
Expand Down
1 change: 1 addition & 0 deletions proto-mapper-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Proto mapper core
2 changes: 1 addition & 1 deletion proto-mapper-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = "2021"
proc-macro = true

[dependencies]
proto-mapper-core = { path = "../proto-mapper-core" }
proto-mapper-core = { path = "../proto-mapper-core", version = "0.1.0" }

[features]
prost = ["proto-mapper-core/prost"]
Expand Down
1 change: 1 addition & 0 deletions proto-mapper-derive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Proto mapper derive

0 comments on commit 8916368

Please sign in to comment.