mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Update README.md
Somehow this change is needed for the action to work as intended.
This commit is contained in:
parent
1ec7035ff5
commit
82c3ed7e7f
1 changed files with 10 additions and 10 deletions
20
README.md
20
README.md
|
@ -49,7 +49,7 @@ don't allow this because they don't work on a level of individual jobs or steps.
|
|||
with:
|
||||
filters: |
|
||||
src:
|
||||
- 'src/**'
|
||||
- 'src/**/*'
|
||||
|
||||
# run only if some file in 'src' folder was changed
|
||||
- if: steps.changes.outputs.src == 'true'
|
||||
|
@ -179,9 +179,9 @@ jobs:
|
|||
with:
|
||||
filters: |
|
||||
backend:
|
||||
- 'backend/**'
|
||||
- 'backend/**/*'
|
||||
frontend:
|
||||
- 'frontend/**'
|
||||
- 'frontend/**/*'
|
||||
|
||||
# run only if 'backend' files were changed
|
||||
- name: backend tests
|
||||
|
@ -220,9 +220,9 @@ jobs:
|
|||
with:
|
||||
filters: |
|
||||
backend:
|
||||
- 'backend/**'
|
||||
- 'backend/**/*'
|
||||
frontend:
|
||||
- 'frontend/**'
|
||||
- 'frontend/**/*'
|
||||
|
||||
# JOB to build and test backend code
|
||||
backend:
|
||||
|
@ -416,11 +416,11 @@ jobs:
|
|||
# src filter will match any path under common, config and src folders
|
||||
filters: |
|
||||
shared: &shared
|
||||
- common/**
|
||||
- config/**
|
||||
- common/**/*
|
||||
- config/**/*
|
||||
src:
|
||||
- *shared
|
||||
- src/**
|
||||
- src/**/*
|
||||
```
|
||||
|
||||
</details>
|
||||
|
@ -439,8 +439,8 @@ jobs:
|
|||
# Multiple change types can be specified using `|` as the delimiter.
|
||||
filters: |
|
||||
shared: &shared
|
||||
- common/**
|
||||
- config/**
|
||||
- common/**/*
|
||||
- config/**/*
|
||||
addedOrModified:
|
||||
- added|modified: '**'
|
||||
allChanges:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue