Files
DcsMissionScriptingTools/github-action/action.yml
T
2026-04-07 22:40:54 +02:00

23 lines
548 B
YAML

name: 'Scripting Compiler Action'
description: 'Runs the custom ScriptCompiler as a GitHub Action.'
inputs:
source-root:
description: 'The root directory of the source files to compile.'
required: true
default: 'src'
output-file:
description: 'The path to the output file for the compiled script.'
required: true
default: 'output/compiled.lua'
runs:
using: 'composite'
steps:
- run: |
cd ${{ github.action_path }}
npm ci
npm run build
node dist/index.js
shell: bash