From 6914a6be33476b2b067aee4521e1c9a4bb819e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Juli=C3=A1n=20Merelo=20Guerv=C3=B3s?= Date: Tue, 28 Jun 2022 12:04:50 +0200 Subject: [PATCH] Probably you mean the files with that extension ... not the files with those names? --- packages/glob/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/glob/README.md b/packages/glob/README.md index 9575beaa..688d41bc 100644 --- a/packages/glob/README.md +++ b/packages/glob/README.md @@ -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() ```