feat(inputs): get settings in main.ts

This commit is contained in:
peaklabs-dev committed 2026-02-12 22:04:53 +01:00
1 parent b584f7612d
commit 12da2c0589
1 file changed
+3
+3
View File
@@ -1,7 +1,10 @@
import * as core from "@actions/core";
import { getSettings } from "./settings.ts";
export async function run(): Promise<void> {
try {
const settings = getSettings();
core.debug(`Settings: ${JSON.stringify(settings, null, 2)}`);
} catch (error: unknown) {
if (error instanceof Error) {
core.setFailed(error.message);