Skip to content

Commit

Permalink
CI/CD: only check crate if arch is amd64 on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Feb 16, 2025
1 parent f4499ba commit ddc1e17
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddc1e17

Please sign in to comment.