This commit is contained in:
dutchie031
2026-04-07 22:40:54 +02:00
parent d75f424b6a
commit 31a5a99d0f
7 changed files with 58 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
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