From 507a6243903050e2f07fe6b5b3fb67f7f9800bfe Mon Sep 17 00:00:00 2001 From: Felix Zeller Date: Fri, 29 Mar 2024 16:57:34 -0400 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b06a86c3..47954f50 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,14 +16,17 @@ 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 steps: - name: Clone Repo uses: actions/checkout@v3 @@ -42,7 +45,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 }}