mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-12 07:01:12 +00:00
Update toolkit we consume (#11)
This commit is contained in:
parent
7c614ea4aa
commit
e4990368a5
26 changed files with 537 additions and 320 deletions
9
node_modules/@actions/tool-cache/lib/tool-cache.d.ts
generated
vendored
9
node_modules/@actions/tool-cache/lib/tool-cache.d.ts
generated
vendored
|
@ -62,10 +62,17 @@ export declare function cacheDir(sourceDir: string, tool: string, version: strin
|
|||
*/
|
||||
export declare function cacheFile(sourceFile: string, targetFile: string, tool: string, version: string, arch?: string): Promise<string>;
|
||||
/**
|
||||
* finds the path to a tool in the local installed tool cache
|
||||
* Finds the path to a tool version in the local installed tool cache
|
||||
*
|
||||
* @param toolName name of the tool
|
||||
* @param versionSpec version of the tool
|
||||
* @param arch optional arch. defaults to arch of computer
|
||||
*/
|
||||
export declare function find(toolName: string, versionSpec: string, arch?: string): string;
|
||||
/**
|
||||
* Finds the paths to all versions of a tool that are installed in the local tool cache
|
||||
*
|
||||
* @param toolName name of the tool
|
||||
* @param arch optional arch. defaults to arch of computer
|
||||
*/
|
||||
export declare function findAllVersions(toolName: string, arch?: string): string[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue