Merge branch 'dev' into update-docs

This commit is contained in:
Adam Warner 2022-08-22 21:46:12 +01:00 committed by GitHub
commit a1f9601c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 25 deletions

View File

@ -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