Use getEnv()

This commit is contained in:
Michael B. Gale
2026-07-29 10:19:14 +01:00
parent 94a12eb6f6
commit 2e251072b0
2 changed files with 2 additions and 3 deletions

2
lib/entry-points.js generated
View File

@@ -162651,7 +162651,7 @@ async function run7(startedAt) {
try {
const action = {
logger,
env: new Env(process.env),
env: getEnv(),
actions: getActionsEnv()
};
getJobUUID(action);

View File

@@ -6,7 +6,6 @@ import * as core from "@actions/core";
import { ActionState } from "./action-common";
import * as actionsUtil from "./actions-util";
import { getGitHubVersion } from "./api-client";
import { Env } from "./environment";
import { FeatureEnablement, initFeatures } from "./feature-flags";
import { BuiltInLanguage, parseBuiltInLanguage } from "./languages";
import { getActionsLogger, Logger } from "./logging";
@@ -43,7 +42,7 @@ async function run(startedAt: Date) {
try {
const action: ActionState<["Logger", "Env", "Actions"]> = {
logger,
env: new Env(process.env),
env: util.getEnv(),
actions: actionsUtil.getActionsEnv(),
};