瀏覽代碼

workflows: small fix on toolchain target

Signed-off-by: Zhouqi Jiang <[email protected]>
Zhouqi Jiang 1 年之前
父節點
當前提交
ea365c4dce
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/ci.yml

+ 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