浏览代码

perf(ci): do not run Rust jobs when the tauri script changes

Lucas Nogueira 2 年之前
父节点
当前提交
1377f8e13b
共有 3 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      .github/workflows/lint-fmt-core.yml
  2. 1 0
      .github/workflows/test-core.yml
  3. 1 0
      .github/workflows/udeps.yml

+ 1 - 0
.github/workflows/lint-fmt-core.yml

@@ -13,6 +13,7 @@ on:
     paths:
       - '.github/workflows/lint-fmt-core.yml'
       - 'core/**'
+      - '!core/tauri/scripts/**'
       - 'examples/**'
 
 env:

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

@@ -13,6 +13,7 @@ on:
     paths:
       - '.github/workflows/test-core.yml'
       - 'core/**'
+      - '!core/tauri/scripts/**'
 
 env:
   RUST_BACKTRACE: 1

+ 1 - 0
.github/workflows/udeps.yml

@@ -40,6 +40,7 @@ jobs:
           filters: |
             tauri:
               - 'core/tauri/**'
+              - '!core/tauri/scripts/**'
             build:
               - 'core/tauri-build/**'
             codegen: