3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-15 19:50:48 +00:00

Update README.md

This commit is contained in:
Tonye Jack 2022-03-22 02:02:50 -04:00 committed by GitHub
parent c12a6f5538
commit 7dfd007898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,6 +300,40 @@ This project follows a `v(major).(patch)` versioning scheme with the exception o
> * Users referencing the legacy `v1.x.x` -> `v5.0.0` semantic versions, are required to switch over to `v10.x` -> `v15.x` respectively as new releases would no longer be deployed using the old versioning scheme. > * Users referencing the legacy `v1.x.x` -> `v5.0.0` semantic versions, are required to switch over to `v10.x` -> `v15.x` respectively as new releases would no longer be deployed using the old versioning scheme.
> * A breaking change was introduced in `v1.1.4` and `v13.x` which has been fixed. > * A breaking change was introduced in `v1.1.4` and `v13.x` which has been fixed.
## Migration guide
With the switch from using grep's Extended regex to match files to the natively supported workflow glob pattern matching snytax introduced in [v13](https://github.com/tj-actions/changed-files/releases/tag/v13) you'll need to modify patterns used to match `files`.
**BEFORE**
```yml
...
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v12.2
with:
files: |
\.sh$
.(sql|py)$
^(mynewfile|custom)
```
**AFTER**
```yml
...
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v18.4
with:
files: |
*.sh
*.sql
*.py
mynewfile
custom/**
```
## Credits ## Credits
This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter). This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter).