1
0
Fork 0

Probably you mean the files with that extension

... not the files with those names?
pull/1126/head
Juan Julián Merelo Guervós 2022-06-28 12:04:50 +02:00 committed by GitHub
parent c5278cdd08
commit 6914a6be33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Relative paths and absolute paths are both allowed. Relative paths are rooted ag
```js
const glob = require('@actions/glob');
const patterns = ['**/tar.gz', '**/tar.bz']
const patterns = ['**/*.tar.gz', '**/*.tar.bz']
const globber = await glob.create(patterns.join('\n'))
const files = await globber.glob()
```