mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-08-07 05:13:07 -04:00
CI/CD: only check crate if arch is amd64 on Linux
This commit is contained in:
1 parent
f4499baffe
commit
ddc1e173c4
1 file changed
+2
-8
@@ -81,14 +81,8 @@ jobs:
|
||||
if: matrix.os == 'ubuntu'
|
||||
run: cargo install cross --git https://github.com/cross-rs/cross
|
||||
|
||||
- name: Check crate (Linux)
|
||||
if: matrix.os == 'ubuntu'
|
||||
run: |
|
||||
cross publish --dry-run --target ${{ matrix.target }} &&
|
||||
cargo clean
|
||||
|
||||
- name: Check crate (macOS/Windows)
|
||||
if: matrix.os == 'macos' || matrix.os == 'windows'
|
||||
- name: Check crate
|
||||
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
|
||||
run: |
|
||||
cargo publish --dry-run --target ${{ matrix.target }} &&
|
||||
cargo clean
|
||||
|
||||
Reference in new issue
Block a user