4
0
Эх сурвалжийг харах

workflows: small fix on toolchain target

Signed-off-by: Zhouqi Jiang <[email protected]>
Zhouqi Jiang 1 жил өмнө
parent
commit
ea365c4dce

+ 2 - 0
.github/workflows/ci.yml

@@ -99,6 +99,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
+          target: ${{ matrix.TARGET }}
           toolchain: stable
       - uses: Swatinem/rust-cache@v2
       - name: Build
@@ -116,6 +117,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
+          target: ${{ matrix.TARGET }}
           toolchain: stable
       - uses: Swatinem/rust-cache@v2
       - name: Build