mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-22 00:11:02 -05:00
Fixed relative path to action metadata
This commit is contained in:
parent
3be1188291
commit
fa0f3a8575
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue