mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 01:22:50 +00:00
Use precise matching for artifact bundles
This should fix the warnings issued when saving artifact bundles.
This commit is contained in:
parent
aa2ed2e033
commit
cb6a0acca4
2 changed files with 5 additions and 2 deletions
|
@ -38,7 +38,7 @@ inputs:
|
||||||
["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"],
|
["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"],
|
||||||
["wrapper-zips", "wrapper/dists/*/*/*.zip"],
|
["wrapper-zips", "wrapper/dists/*/*/*.zip"],
|
||||||
["dependency-jars", "caches/modules-*/files-*/**/*.jar"],
|
["dependency-jars", "caches/modules-*/files-*/**/*.jar"],
|
||||||
["instrumented-jars", "caches/jars-*/*"]
|
["instrumented-jars", "caches/jars-*/*/"]
|
||||||
]
|
]
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
|
|
|
@ -101,7 +101,10 @@ export class GradleUserHomeCache extends AbstractCache {
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const bundleMetaFile = this.getBundleMetaFile(bundle)
|
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()
|
const bundleFiles = await globber.glob()
|
||||||
|
|
||||||
// Handle no matching files
|
// Handle no matching files
|
||||||
|
|
Loading…
Reference in a new issue