From 844f343335a0d95f71cfcb9672b60da7669dba99 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 5 Dec 2023 16:39:01 +0800 Subject: [PATCH] feature update workflows trigger --- .gitea/workflows/linux-mips64-gcc.yml | 18 ++++++++++++++++-- .gitea/workflows/linux-x64-gcc.yml | 17 +++++++++++++++-- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/linux-mips64-gcc.yml b/.gitea/workflows/linux-mips64-gcc.yml index 42505b1..00b2f43 100644 --- a/.gitea/workflows/linux-mips64-gcc.yml +++ b/.gitea/workflows/linux-mips64-gcc.yml @@ -1,7 +1,21 @@ name: linux-mips64-gcc on: - - push - - pull_request + push: + paths: + - '.gitea/workflows/linux-mips64-gcc.yml' + - 'toolchains/mips64el-linux-gnuabi64.toolchain.cmake' + - 'src/**' + - 'tests/**' + - 'CMakeLists.txt' + - 'cmake/**' + pull_request: + paths: + - '.gitea/workflows/linux-mips64-gcc.yml' + - 'toolchains/mips64el-linux-gnuabi64.toolchain.cmake' + - 'src/**' + - 'tests/**' + - 'CMakeLists.txt' + - 'cmake/**' concurrency: group: linux-mips64-gcc-${{ github.ref }} diff --git a/.gitea/workflows/linux-x64-gcc.yml b/.gitea/workflows/linux-x64-gcc.yml index b0e9b82..293a0ed 100644 --- a/.gitea/workflows/linux-x64-gcc.yml +++ b/.gitea/workflows/linux-x64-gcc.yml @@ -1,7 +1,20 @@ name: linux-x64-gcc on: - - push - - pull_request + push: + paths: + - '.gitea/workflows/linux-x64-gcc.yml' + - 'src/**' + - 'tests/**' + - 'CMakeLists.txt' + - 'cmake/**' + pull_request: + paths: + - '.gitea/workflows/linux-x64-gcc.yml' + - 'src/**' + - 'tests/**' + - 'CMakeLists.txt' + - 'cmake/**' + - concurrency: group: linux-x64-gcc-${{ github.ref }} cancel-in-progress: true