Skip to content

Commit d217ddd

Browse files
committed
fix package workflow
1 parent 1db0572 commit d217ddd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ jobs:
7272
with:
7373
targets: ${{ matrix.target }}
7474

75+
- name: Check crate
76+
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
77+
run: cargo publish --dry-run --target ${{ matrix.target }}
78+
7579
- name: Clippy (release mode)
7680
run: cargo clippy --release -- -D warnings
7781

7882
- name: Test (release mode)
79-
run: cargo test --release --verbose -- --nocapture
80-
81-
- name: Check crate
82-
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
8383
run: |
84-
cargo publish --dry-run --target ${{ matrix.target }} &&
84+
cargo test --release --verbose -- --nocapture &&
8585
cargo clean
8686
8787
- name: Install Cross

0 commit comments

Comments
 (0)