From 9a5a9db13372b2dadd96453c096ceda4405e77be Mon Sep 17 00:00:00 2001 From: b-ma Date: Tue, 24 Dec 2024 17:30:34 +0100 Subject: [PATCH] fix: always add target with rustup --- .github/workflows/matrix-build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/matrix-build.yaml b/.github/workflows/matrix-build.yaml index 47ab1ab..4b0b492 100644 --- a/.github/workflows/matrix-build.yaml +++ b/.github/workflows/matrix-build.yaml @@ -49,7 +49,7 @@ jobs: target: aarch64-unknown-linux-gnu command: cross - - name: linux-x86-gnu + - name: linux-x64-gnu runner: ubuntu-latest target: x86_64-unknown-linux-gnu command: cross @@ -95,6 +95,8 @@ jobs: - name: Build Binary shell: bash run: | + rustup target add ${{ matrix.target }} + if [[ "${{ matrix.runner }}" == "ubuntu-latest" ]]; then echo "Build with Jack feature" ${{ matrix.command }} build --locked --features jack --release --target ${{ matrix.target }}