diff --git a/.github/workflows/build-test-ef6.yml b/.github/workflows/build-test-ef6.yml index 81b67dac..dc5f69d6 100644 --- a/.github/workflows/build-test-ef6.yml +++ b/.github/workflows/build-test-ef6.yml @@ -1,9 +1,19 @@ name: Build and Test Ardalis.Specification.EntityFramework6 -on: +on: + workflow_dispatch: + branches: + - main push: - paths-ignore: - - 'docs/**' + branches: + - main + paths: + - 'Specification.EntityFramework6/**' + pull_request: + branches: + - main + paths: + - 'Specification.EntityFramework6/**' jobs: build: diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7d46521e..1c75c9b4 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -1,15 +1,25 @@ name: Build and Test .NET 5 CI on: + workflow_dispatch: + branches: + - main push: - paths-ignore: - - 'docs/**' + branches: + - main + paths: + - 'Specification/**' + - 'Specification.EntityFrameworkCore/**' + pull_request: + branches: + - main + paths: + - 'Specification/**' + - 'Specification.EntityFrameworkCore/**' jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v1 - name: Setup .NET Core