Skip to content

Commit bd8b675

Browse files
committed
Moved the input parsing at last
1 parent e951dae commit bd8b675

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

code-build.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ function githubInputs() {
167167
const projectName = core.getInput("project-name", { required: true });
168168
const disableSourceOverride =
169169
core.getInput("disable-source-override", { required: false }) === "true";
170-
const disableGithubEnvVars =
171-
core.getInput("disable-github-env-vars", { required: false }) === "true";
172170
const { owner, repo } = github.context.repo;
173171
const { payload } = github.context;
174172
// The github.context.sha is evaluated on import.
@@ -215,6 +213,9 @@ function githubInputs() {
215213
const hideCloudWatchLogs =
216214
core.getInput("hide-cloudwatch-logs", { required: false }) === "true";
217215

216+
const disableGithubEnvVars =
217+
core.getInput("disable-github-env-vars", { required: false }) === "true";
218+
218219
return {
219220
projectName,
220221
owner,

0 commit comments

Comments
 (0)