diff --git a/dist/index.js b/dist/index.js index 7b2720e..b1e71df 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/inputs/run-install.ts b/src/inputs/run-install.ts index 4f4e741..a24ed3d 100644 --- a/src/inputs/run-install.ts +++ b/src/inputs/run-install.ts @@ -1,5 +1,5 @@ import process from 'process' -import { safeLoad } from 'js-yaml' +import { load } from 'js-yaml' import Ajv from 'ajv' import { getInput, error, InputOptions } from '@actions/core' import runInstallSchema from './run-install-input.schema.json' @@ -21,10 +21,9 @@ const options: InputOptions = { } export function parseRunInstall(name: string): RunInstall[] { - const result: RunInstallInput = safeLoad(getInput(name, options)) as any + const result: RunInstallInput = load(getInput(name, options)) as any const ajv = new Ajv({ allErrors: true, - async: false, }) const validate = ajv.compile(runInstallSchema) if (!validate(result)) {