From 1985384c9800daf7d151e95ff5f04d0934e4f121 Mon Sep 17 00:00:00 2001 From: Mehmet Erim <34455572+mehmet-erim@users.noreply.github.com> Date: Thu, 11 Mar 2021 16:48:59 +0300 Subject: [PATCH] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6ba3ad7a6d..20f16b09d4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -2,14 +2,18 @@ name: "build and test" on: pull_request: paths: - - "framework/**" - - "modules/**" - - "templates/**" - push: - paths: - - "framework/**" - - "modules/**" - - "templates/**" + - 'framework/**/*.cs' + - 'framework/**/*.cshtml' + - 'framework/**/*.csproj' + - 'framework/**/*.razor' + - 'modules/**/*.cs' + - 'modules/**/*.cshtml' + - 'modules/**/*.csproj' + - 'modules/**/*.razor' + - 'templates/**/*.cs' + - 'templates/**/*.cshtml' + - 'templates/**/*.csproj' + - 'templates/**/*.razor' jobs: build-test: runs-on: windows-latest