From b20af54b8081266819016330d1ce038d358c3964 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Wed, 27 Mar 2024 21:51:32 +0100 Subject: [PATCH] workaround a GHA issue Signed-off-by: Sam Therapy --- action.yaml | 2 +- run.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index c928060..19650ad 100644 --- a/action.yaml +++ b/action.yaml @@ -11,7 +11,7 @@ inputs: project: description: 'The project name used to deploy' required: true - entrypoint: + entry-point: description: 'The entrypoint file for the deployment' required: true exclude: diff --git a/run.ts b/run.ts index ffc52f1..cde0d58 100755 --- a/run.ts +++ b/run.ts @@ -25,7 +25,12 @@ Deno.env.set( ), ); -let temp: string = getEnv("Project", true, "An entrypoint is required"); +let temp = getEnv("ENTRY-POINT") +if (temp) { + Deno.env.set("ENTRYPOINT", temp); +} + +temp = getEnv("Project", true, "An entrypoint is required"); const flags = [`-p=${temp}`]; temp = getEnv("EXCLUDE");