1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-30 07:19:54 +02:00

Initial commit

This commit is contained in:
Josh Gross 2019-10-30 14:48:49 -04:00
parent 551cf17d91
commit 37c45447e4
20 changed files with 6242 additions and 0 deletions

7
src/utils/testUtils.ts Normal file
View file

@ -0,0 +1,7 @@
function getInputName(name: string): string {
return `INPUT_${name.replace(/ /g, "_").toUpperCase()}`;
}
export function setInput(name: string, value: string) {
process.env[getInputName(name)] = value;
}