Skip to content

Commit 2e25107

Browse files
committed
Use getEnv()
1 parent 94a12eb commit 2e25107

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/entry-points.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy-action.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import * as core from "@actions/core";
66
import { ActionState } from "./action-common";
77
import * as actionsUtil from "./actions-util";
88
import { getGitHubVersion } from "./api-client";
9-
import { Env } from "./environment";
109
import { FeatureEnablement, initFeatures } from "./feature-flags";
1110
import { BuiltInLanguage, parseBuiltInLanguage } from "./languages";
1211
import { getActionsLogger, Logger } from "./logging";
@@ -43,7 +42,7 @@ async function run(startedAt: Date) {
4342
try {
4443
const action: ActionState<["Logger", "Env", "Actions"]> = {
4544
logger,
46-
env: new Env(process.env),
45+
env: util.getEnv(),
4746
actions: actionsUtil.getActionsEnv(),
4847
};
4948

0 commit comments

Comments
 (0)