From d60b0c54c27cf9daf091a7c9a2812154af5c9107 Mon Sep 17 00:00:00 2001 From: "Jeffrey T. Fritz" Date: Thu, 24 Aug 2023 10:13:31 -0400 Subject: [PATCH] Removed src folder build requirement (#127) --- .github/workflows/dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7dc12331..bc08d11c 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -17,7 +17,7 @@ on: jobs: build: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: ubuntu-latest defaults: run: @@ -37,7 +37,7 @@ jobs: working-directory: ./src/TagzApp.UnitTest playwright: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') name: 'Playwright Tests' runs-on: ubuntu-latest defaults: @@ -59,7 +59,7 @@ jobs: TestHostStartDelay: 1000 run: dotnet test --no-build image: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'FritzAndFriends' + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'FritzAndFriends') name: 'Create docker image for Web' runs-on: ubuntu-latest needs: [playwright]