Download from Azul if no Jdk file specified (#5)

* Download from zulu

* Fix pathing

* Fix

* Fix

* Fix

* Update io

* Tests and pathing

* Add back husky

* Update action.yml
This commit is contained in:
Danny McCormick 2019-07-15 14:59:23 -04:00 committed by GitHub
parent 012e07621e
commit 0cf3ae56f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 395 additions and 324 deletions

12
node_modules/@actions/io/lib/io.d.ts generated vendored
View file

@ -7,8 +7,16 @@ export interface CopyOptions {
/** Optional. Whether to overwrite existing files in the destination. Defaults to true */
force?: boolean;
}
/**
* Interface for cp/mv options
*/
export interface MoveOptions {
/** Optional. Whether to overwrite existing files in the destination. Defaults to true */
force?: boolean;
}
/**
* Copies a file or folder.
* Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
*
* @param source source path
* @param dest destination path
@ -20,9 +28,9 @@ export declare function cp(source: string, dest: string, options?: CopyOptions):
*
* @param source source path
* @param dest destination path
* @param options optional. See CopyOptions.
* @param options optional. See MoveOptions.
*/
export declare function mv(source: string, dest: string, options?: CopyOptions): Promise<void>;
export declare function mv(source: string, dest: string, options?: MoveOptions): Promise<void>;
/**
* Remove a path recursively with force
*