diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 749b01204d55d714f3bf708b5c9ce7f21856fdf4..4a5b272f4a4c52ab31135dfd152e47b1f124b0ea 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 }}