Skip to content

Commit 8f35bd0

Browse files
committed
update ci
1 parent b57a673 commit 8f35bd0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/crate-publishing.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,17 @@ jobs:
5151
run: |
5252
choco install ninja
5353
54-
- name: "🚧 Cargo test"
55-
if: "!startsWith(github.ref, 'refs/tags')"
54+
- name: "🚧 Dry-run publish and test"
5655
run: |
57-
cargo test && cargo publish --dry-run --target-dir ./build_publish --allow-dirty
56+
cargo test && cargo publish -p unicorn-engine-sys --dry-run --target-dir ./build_uc --allow-dirty && \
57+
cargo publish -p unicorn-engine --dry-run --target-dir ./build_uc_sys --allow-dirty
58+
59+
- name: "🚧 Upload artifacts"
60+
uses: actions/upload-artifact@v4
61+
with:
62+
path: |
63+
build_uc_sys
64+
build_uc
5865
5966
- name: Publish crates to Crates.io
6067
if: startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.config.os, 'ubuntu')

0 commit comments

Comments
 (0)