mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
add support for artifacts proxy repositories
This commit is contained in:
parent
06db6c25b8
commit
cec33d9d11
18 changed files with 497 additions and 23 deletions
|
@ -15,6 +15,8 @@ import {
|
|||
import os from 'os';
|
||||
|
||||
class EmptyJavaBase extends JavaBase {
|
||||
protected remoteMetadataBaseUrl = 'MUST STAY EMPTY';
|
||||
protected remoteBaseUrl = 'MUST STAY EMPTY';
|
||||
constructor(installerOptions: JavaInstallerOptions) {
|
||||
super('Empty', installerOptions);
|
||||
}
|
||||
|
@ -37,6 +39,10 @@ class EmptyJavaBase extends JavaBase {
|
|||
url: `some/random_url/java/${availableVersion}`
|
||||
};
|
||||
}
|
||||
|
||||
protected baseUrl(): string {
|
||||
throw new Error('Method already tested in all distribution installers');
|
||||
}
|
||||
}
|
||||
|
||||
describe('findInToolcache', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue