16 lines
452 B
JavaScript
16 lines
452 B
JavaScript
const core = require('@actions/core');
|
|
import recipe from './src/recipe/index.js';
|
|
import model from './src/model/index.js';
|
|
|
|
model(
|
|
core.getInput('document') || 'document',
|
|
core.getInput('model') || 'equipment-model.axml',
|
|
core.getInput('opc') || 'equipment-model.json',
|
|
).then(
|
|
() => recipe(
|
|
core.getInput('document') || 'document',
|
|
core.getInput('recipes') || 'recipes',
|
|
core.getInput('model') || 'equipment-model.axml',
|
|
),
|
|
);
|