Skip to content

Commit f8ab344

Browse files
committed
fix: publish script error
1 parent a6a2e5d commit f8ab344

4 files changed

Lines changed: 43 additions & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,24 @@ jobs:
133133
if: github.event.inputs.dry_run != 'true'
134134
run: sleep 30
135135

136+
- name: Publish rustapi-grpc
137+
if: github.event.inputs.dry_run != 'true'
138+
run: cargo publish -p rustapi-grpc --token ${{ secrets.CRATES_IO_TOKEN }} --no-verify --allow-dirty
139+
continue-on-error: true
140+
141+
- name: Wait for crates.io index update
142+
if: github.event.inputs.dry_run != 'true'
143+
run: sleep 30
144+
145+
- name: Publish rustapi-mcp
146+
if: github.event.inputs.dry_run != 'true'
147+
run: cargo publish -p rustapi-mcp --token ${{ secrets.CRATES_IO_TOKEN }} --no-verify --allow-dirty
148+
continue-on-error: true
149+
150+
- name: Wait for crates.io index update
151+
if: github.event.inputs.dry_run != 'true'
152+
run: sleep 30
153+
136154
- name: Publish rustapi-rs (main crate)
137155
if: github.event.inputs.dry_run != 'true'
138156
run: cargo publish -p rustapi-rs --token ${{ secrets.CRATES_IO_TOKEN }}
@@ -154,6 +172,8 @@ jobs:
154172
cargo publish -p rustapi-toon --dry-run
155173
cargo publish -p rustapi-view --dry-run
156174
cargo publish -p rustapi-ws --dry-run
175+
cargo publish -p rustapi-grpc --dry-run
176+
cargo publish -p rustapi-mcp --dry-run
157177
cargo publish -p rustapi-rs --dry-run
158178
cargo publish -p cargo-rustapi --dry-run
159179
echo "All packages verified successfully!"

Cargo.lock

Lines changed: 20 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ members = [
1717
]
1818

1919
[workspace.package]
20-
version = "0.1.499"
20+
version = "0.1.500"
2121
edition = "2021"
2222
authors = ["RustAPI Contributors, Tuntii"]
2323
license = "MIT OR Apache-2.0"
@@ -148,3 +148,4 @@ strip = false
148148

149149

150150

151+

crates/rustapi-core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ dashboard = ["dep:dashmap"]
117117

118118

119119

120+
120121

0 commit comments

Comments
 (0)