Comments (4)
Ok, thanks for clarifying it in fb6a49f.
Still, I suggest not using this pattern in the first example (quite misleading IMO):
...
steps:
- uses: actions/checkout@v2
- name: Glob match
uses: tj-actions/glob@v16
id: glob
with:
files: |
*.md
**.yaml
**.yml
!action.yml
**/rebase.yml
- name: Show all matching files
run: |
echo "${{ steps.glob.outputs.paths }}"
# Outputs: .github/workflows/rebase.yml .github/workflows/sync-release-version.yml .github/workflows/test.yml...
https://github.com/tj-actions/glob/tree/fb6a49f21653eca6ecb9111fa816188a37a1affd#usage
from glob.
Noted it's been updated to prevent any confusion.
from glob.
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.
from glob.
@jond01 I believe thatβs a know limitation and has been highlighted in the docs.
Please refer to the Usage section for more information.
from glob.
Related Issues (13)
- [BUG] Warnings about Node.js 16 actions being deprecated HOT 2
- [BUG] Invalid pattern with relative path in .gitignore HOT 1
- [Feature] node12 deprecation
- [BUG] wrong file patterns created from .gitignore entries HOT 1
- [gitignore] optionally include directories that are a part of gitignore in the glob HOT 2
- [BUG] Looking for __init__.py is failing HOT 12
- [BUG] Brace expansion causes grep: : No such file or directory HOT 1
- [BUG] gitignore excludes are not correctly reflected HOT 6
- [Feature] Support named filters HOT 1
- [Feature] Option to succeed if no path match the pattern HOT 3
- Dependency Dashboard HOT 1
- [Feature] Add option to use git ls-files or list files using git instead of using the file system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glob.