mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
search sbt files in all directories.
This commit is contained in:
parent
68d967ecf9
commit
ff4b9e75fd
4 changed files with 4 additions and 4 deletions
|
@ -123,7 +123,7 @@ describe('dependency cache', () => {
|
|||
await expect(restore('sbt')).rejects.toThrowError(
|
||||
`No file in ${projectRoot(
|
||||
workspace
|
||||
)} matched to [*.sbt,project/build.properties,project/**.{scala,sbt}], make sure you have checked out the target repository`
|
||||
)} matched to [**/*.sbt,**/project/build.properties,**/project/**.{scala,sbt}], make sure you have checked out the target repository`
|
||||
);
|
||||
});
|
||||
it('downloads cache', async () => {
|
||||
|
|
2
dist/cleanup/index.js
vendored
2
dist/cleanup/index.js
vendored
|
@ -61894,7 +61894,7 @@ const supportedPackageManager = [
|
|||
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
],
|
||||
pattern: ['*.sbt', 'project/build.properties', 'project/**.{scala,sbt}']
|
||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||
}
|
||||
];
|
||||
function getCoursierCachePath() {
|
||||
|
|
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -18631,7 +18631,7 @@ const supportedPackageManager = [
|
|||
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
],
|
||||
pattern: ['*.sbt', 'project/build.properties', 'project/**.{scala,sbt}']
|
||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||
}
|
||||
];
|
||||
function getCoursierCachePath() {
|
||||
|
|
|
@ -40,7 +40,7 @@ const supportedPackageManager: PackageManager[] = [
|
|||
join(os.homedir(), '.sbt'),
|
||||
getCoursierCachePath()
|
||||
],
|
||||
pattern: ['*.sbt', 'project/build.properties', 'project/**.{scala,sbt}']
|
||||
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue