mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Use precise matching for artifact bundles
This should fix the warnings issued when saving artifact bundles.
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -101,7 +101,10 @@ export class GradleUserHomeCache extends AbstractCache {
|
||||
): Promise<void> {
|
||||
const bundleMetaFile = this.getBundleMetaFile(bundle)
|
||||
|
||||
const globber = await glob.create(artifactPath)
|
||||
const globber = await glob.create(artifactPath, {
|
||||
implicitDescendants: false,
|
||||
followSymbolicLinks: false
|
||||
})
|
||||
const bundleFiles = await globber.glob()
|
||||
|
||||
// Handle no matching files
|
||||
|
||||
Reference in new issue
Block a user