build: Build pipeline based off path filters

pull/1/head
sgoudham 2 years ago
parent 8077689388
commit ca9a870ccb
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -0,0 +1,21 @@
name: build
on:
push:
paths-ignore:
- 'src/**'
- 'tests/**'
- '.github/**'
branches:
- '**'
pull_request:
paths-ignore:
- 'src/**'
- 'tests/**'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

@ -2,9 +2,17 @@ name: build
on: on:
push: push:
paths:
- 'src/**'
- 'tests/**'
- '.github/**'
branches: branches:
- '**' - '**'
pull_request: pull_request:
paths:
- 'src/**'
- 'tests/**'
- '.github/**'
jobs: jobs:
install-cross: install-cross:

Loading…
Cancel
Save