From fa0f3a857557a3540b413d5f0d1d46973460a85d Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Fri, 19 May 2023 21:37:22 +0300 Subject: [PATCH] Fixed relative path to action metadata --- src/program.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/program.ts b/src/program.ts index 360336f..ddd9baa 100644 --- a/src/program.ts +++ b/src/program.ts @@ -37,8 +37,9 @@ export async function main(): Promise { const logger = getDefaultLogger(env); try { + const action = await initializeAction(new URL("../action.yml", import.meta.url), env); + const githubContext = new GitHubContext(env); - const action = await initializeAction(new URL("../action.yml"), env); await publish(action, githubContext, logger); } catch (e) { logger.fatal(e);