mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-26 21:33:05 +07:00
20 lines
483 B
TypeScript
20 lines
483 B
TypeScript
|
/** NuGet lock file patterns */
|
||
|
export const lockFilePatterns = ['packages.lock.json'];
|
||
|
|
||
|
/**
|
||
|
* .NET CLI command to list local NuGet resources.
|
||
|
* @see https://docs.microsoft.com/dotnet/core/tools/dotnet-nuget-locals
|
||
|
*/
|
||
|
export const cliCommand =
|
||
|
'dotnet nuget locals all --list --force-english-output';
|
||
|
|
||
|
export enum State {
|
||
|
CachePrimaryKey = 'CACHE_KEY',
|
||
|
CacheMatchedKey = 'CACHE_RESULT'
|
||
|
}
|
||
|
|
||
|
export enum Outputs {
|
||
|
CacheHit = 'cache-hit',
|
||
|
DotnetVersion = 'dotnet-version'
|
||
|
}
|