3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-21 05:28:14 +00:00

chore: update readme

This commit is contained in:
Tonye Jack 2022-08-21 13:03:15 -06:00
parent d3225fe87b
commit 28ac672424

View file

@ -376,51 +376,6 @@ Support this project with a :star:
> However, this action will handle spaces in file names, with a recommendation of using a separator to prevent hidden issues.
> ![Screen Shot 2021-10-23 at 9 37 34 AM](https://user-images.githubusercontent.com/17484350/138558767-b13c90bf-a1ae-4e86-9520-70a6a4624f41.png)
## Versioning
This project follows a `v(major).(patch)` versioning scheme with the exception of pointing the git ref of the latest patch release to the major version tag.
> NOTE: :warning:
>
> * 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.
## Migration guide
With the switch from using grep's Extended regex to match files to the natively supported workflow glob pattern matching syntax 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@v28
with:
files: |
*.sh
*.sql
*.py
mynewfile
custom/**
```
## Credits
This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter).