From 54a8d790c5e6952ed2d826417482e4bdc37aab1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Sun, 5 Jul 2020 12:27:58 -0300 Subject: [PATCH] wroskflows: build: Enable cross by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It appears that ${{true}} fails to set use-cross as true. Using cross by default will take a bit longer, but at least will fix the build problem. Signed-off-by: Patrick José Pereira --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5e567b..b3992de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - use-cross: startWith($${{ matrix.target }}, 'x86') != true + use-cross: true args: --release --locked --target=${{ matrix.target }} - name: Package