List matching Actions caches
This commit is contained in:
parent
b1bd8da5e7
commit
cc96c825ba
9 changed files with 78 additions and 15 deletions
|
|
@ -291,7 +291,7 @@ export function getRelativeScriptPath(): string {
|
|||
}
|
||||
|
||||
/** Returns the contents of `GITHUB_EVENT_PATH` as a JSON object. */
|
||||
function getWorkflowEvent(): any {
|
||||
export function getWorkflowEvent(): any {
|
||||
const eventJsonFile = getRequiredEnvParam("GITHUB_EVENT_PATH");
|
||||
try {
|
||||
return JSON.parse(fs.readFileSync(eventJsonFile, "utf-8"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue