feat: implement JSON/Function file checking using SpyglassMC

This commit is contained in:
2025-09-11 14:48:14 +02:00
parent 48515b0fc0
commit 14f7b74d0f
4 changed files with 554 additions and 7 deletions

View File

@@ -3,11 +3,8 @@ import { checkDatapack } from "./check_datapack.js"
async function run(): Promise<void> {
try {
const rootDir = core.getInput("dir")
const rootDir = core.getInput("rootDir")
let version = core.getInput("version")
if (version === "") {
version = "auto"
}
await checkDatapack(rootDir, version)
} catch (error) {