浏览代码

chore: test ci

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

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

@@ -51,7 +51,7 @@ jobs:
           node-version: 14
           node-version: 14
 
 
       - name: Install Dependencies (ubuntu only)
       - name: Install Dependencies (ubuntu only)
-        if: github.event.inputs.os == 'ubuntu-latest'
+        if: startsWith(github.event.inputs.os, 'ubuntu-')
         run: |
         run: |
           sudo apt-get update
           sudo apt-get update
           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
           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