Fixed relative path to action metadata

This commit is contained in:
Kir_Antipov 2023-05-19 21:37:22 +03:00
parent 3be1188291
commit fa0f3a8575

View file

@ -37,8 +37,9 @@ export async function main(): Promise<void> {
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);