Skip to content

Commit

Permalink
fix(release): don't use cross for Darwin and Windows builds (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamafaktory committed Feb 16, 2024
1 parent dbabc33 commit 7b7e9ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,15 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Build
- name: Build Linux
if: matrix.os == 'ubuntu-latest'
run: |
cargo install cross --git https://github.com/cross-rs/cross
cross build --release --target ${{ matrix.target }}
- name: Build Darwin & Windows
if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest'
run: cargo build --release --target ${{ matrix.target }}

- name: Package Artifacts
shell: bash
Expand Down

0 comments on commit 7b7e9ae

Please sign in to comment.