From 64216cba6756f7c39acb5a9107108e897936e517 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Wed, 28 Sep 2022 15:19:50 +0800
Subject: [PATCH] chore: fix test ci

---
 .github/workflows/test.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index cb88a07..055561f 100644
--- a/.github/workflows/test.yml
+++ b/.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
-- 
GitLab