From e718c8c25f619792f09730a26f735e866b8b4c46 Mon Sep 17 00:00:00 2001 From: maliming Date: Sat, 23 Oct 2021 16:18:33 +0800 Subject: [PATCH] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1a81fd6c9f..e6dcbc78b0 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,5 +1,22 @@ name: "build and test" on: + push: + branches: + - dev + paths: + - 'framework/**/*.cs' + - 'framework/**/*.cshtml' + - 'framework/**/*.csproj' + - 'framework/**/*.razor' + - 'modules/**/*.cs' + - 'modules/**/*.cshtml' + - 'modules/**/*.csproj' + - 'modules/**/*.razor' + - 'templates/**/*.cs' + - 'templates/**/*.cshtml' + - 'templates/**/*.csproj' + - 'templates/**/*.razor' + pull_request: paths: - 'framework/**/*.cs'