Skip to content

Commit

Permalink
ci(release): do not use cross on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dzfrias committed Jun 19, 2023
1 parent b07506d commit ebf1226
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,27 @@ jobs:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl
use-cross: true

- build: macos
os: macos-latest
target: x86_64-apple-darwin
use-cross: true

- build: windows-gnu
os: windows-latest
target: x86_64-pc-windows-gnu
use-cross: false

- build: windows-msvc
os: windows-latest
target: x86_64-pc-windows-msvc
use-cross: false

- build: windows32-msvc
os: windows-latest
target: i686-pc-windows-msvc
use-cross: false

steps:
- name: Checkout
Expand All @@ -86,7 +95,7 @@ jobs:
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
use-cross: ${{ matrix.use-cross }}
command: build
args: --verbose --release --target ${{ matrix.target }}

Expand Down

0 comments on commit ebf1226

Please sign in to comment.