renamed GitVersion.js -> GitVersion.ts, added ToolInstaller and ToolLib
This commit is contained in:
20
src/github/Proxy.ts
Normal file
20
src/github/Proxy.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { find, cacheDir } from '@actions/tool-cache';
|
||||
import { debug, exportVariable, addPath } from '@actions/core';
|
||||
import { which } from '@actions/io';
|
||||
|
||||
import { isExplicitVersion, evaluateVersions, createTempDir, cleanVersion, executeDotNet } from './ToolLib';
|
||||
import { IProxy } from '../Interfaces';
|
||||
|
||||
export const Proxy: IProxy = {
|
||||
find : find,
|
||||
debug: debug,
|
||||
exportVariable: exportVariable,
|
||||
addPath: addPath,
|
||||
which: which,
|
||||
cacheDir: cacheDir,
|
||||
isExplicitVersion: isExplicitVersion,
|
||||
evaluateVersions: evaluateVersions,
|
||||
cleanVersion: cleanVersion,
|
||||
createTempDir: createTempDir,
|
||||
executeDotNet: executeDotNet
|
||||
}
|
||||
Reference in New Issue
Block a user