From f2a84ce3dc2ffb4ce205659443a95865041f47f2 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 22 Aug 2022 17:20:00 +0100 Subject: [PATCH] Remove the stuff that only runs workflows when certain files are changed - it's not working as nice as it could Signed-off-by: Adam Warner --- .github/workflows/test-and-build.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index b6a681d..d182b1e 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -10,32 +10,7 @@ on: types: [published] jobs: - # JOB to run change detection - changes: - runs-on: ubuntu-latest - # Set job outputs to values from filter step - outputs: - requires-build: ${{ steps.filter.outputs.requires-build }} - steps: - - - name: Checkout Repo - uses: actions/checkout@v3 - - - name: Check which files have been touched - uses: dorny/paths-filter@v2 - id: filter - with: - filters: | - requires-build: - - 'src/**' - - 'test/**' - - '.github/workflows/test-and-build.yaml' - - 'build-and-test.sh' - test: - needs: changes - # Only run this step if certain files have been touched, or if it is a scheduled build. - if: ${{ needs.changes.outputs.requires-build == 'true' || github.event_name == 'schedule' }} runs-on: ubuntu-latest steps: - name: Checkout Repo