From d51eddb0c0fdd16ebbee0c767e28c4cb7d34795b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= <patrickelectric@gmail.com>
Date: Fri, 20 Jan 2023 14:39:29 -0300
Subject: [PATCH] github: build: Specify target in cargo step
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
---
 .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 749b012..4a5b272 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -93,7 +93,7 @@ jobs:
         with:
           use-cross: true
           command: build
-          args: --release --bin simple-http-server --locked
+          args: --release --bin simple-http-server --locked --target=${{ matrix.TARGET }}
       - uses: actions/upload-artifact@v2
         with:
           name: ${{ matrix.target }}-simple-http-server${{ env.BINARY_EXTENSION }}
-- 
GitLab