浏览代码

chore: fix test ci

GyDi 2 年之前
父节点
当前提交
64216cba67
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/test.yml

+ 2 - 2
.github/workflows/test.yml

@@ -57,7 +57,7 @@ jobs:
           sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev libayatana-appindicator3-dev
       
       - name: Install ARM64 toolchain (windows only)
-        if: startsWith(matrix.os, 'windows-')
+        if: startsWith(github.event.inputs.os, 'windows-')
         run: |
           rustup target add aarch64-pc-windows-msvc
 
@@ -87,7 +87,7 @@ jobs:
           TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
       
       - name: Tauri build arm64 (windows only)
-        if: startsWith(matrix.os, 'windows-')
+        if: startsWith(github.event.inputs.os, 'windows-')
         uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
         # enable cache even though failed
         # continue-on-error: true