mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +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(
|
await expect(restore('sbt')).rejects.toThrowError(
|
||||||
`No file in ${projectRoot(
|
`No file in ${projectRoot(
|
||||||
workspace
|
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 () => {
|
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'),
|
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
getCoursierCachePath()
|
||||||
],
|
],
|
||||||
pattern: ['*.sbt', 'project/build.properties', 'project/**.{scala,sbt}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
function getCoursierCachePath() {
|
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'),
|
path_1.join(os_1.default.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
getCoursierCachePath()
|
||||||
],
|
],
|
||||||
pattern: ['*.sbt', 'project/build.properties', 'project/**.{scala,sbt}']
|
pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
function getCoursierCachePath() {
|
function getCoursierCachePath() {
|
||||||
|
|
|
@ -40,7 +40,7 @@ const supportedPackageManager: PackageManager[] = [
|
||||||
join(os.homedir(), '.sbt'),
|
join(os.homedir(), '.sbt'),
|
||||||
getCoursierCachePath()
|
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