mirror of
https://github.com/actions/cache.git
synced 2025-09-11 20:01:36 +08:00
stateinputprovider with pending test cases fix
This commit is contained in:
@@ -9,6 +9,10 @@ export function setInput(name: string, value: string): void {
|
||||
process.env[getInputName(name)] = value;
|
||||
}
|
||||
|
||||
export function getInput(name: string): string {
|
||||
return process.env[getInputName(name)] as string;
|
||||
}
|
||||
|
||||
interface CacheInput {
|
||||
path: string;
|
||||
key: string;
|
||||
|
Reference in New Issue
Block a user