Restore inputs in runInActions

This commit is contained in:
Michael B. Gale
2026-10-19 19:44:39 +01:00
parent 2a0f9f0e08
commit 9d9422aff0
6 changed files with 32 additions and 16 deletions

View File

@@ -8,7 +8,6 @@ import * as core from "@actions/core";
import { runInActions, type Action, type ActionState } from "./action-common";
import {
restoreInputs,
getOptionalInput,
getTemporaryDirectory,
printDebugLogs,
@@ -66,9 +65,6 @@ async function run(action: ActionState<["Base", "Logger", "Env"]>) {
// Action saw, which is always a success.
const jobStatus = getOptionalInput("job-status");
// Restore inputs from `init` Action.
restoreInputs(logger);
const tmpDir = getTemporaryDirectory();
config = await getConfig(tmpDir, logger);