mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-28 19:31:03 -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);
|
const logger = getDefaultLogger(env);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
const action = await initializeAction(new URL("../action.yml", import.meta.url), env);
|
||||||
|
|
||||||
const githubContext = new GitHubContext(env);
|
const githubContext = new GitHubContext(env);
|
||||||
const action = await initializeAction(new URL("../action.yml"), env);
|
|
||||||
await publish(action, githubContext, logger);
|
await publish(action, githubContext, logger);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.fatal(e);
|
logger.fatal(e);
|
||||||
|
|
Loading…
Reference in a new issue