name: 'Install Lua Addon' description: 'Installs DCS Lua addons and type definitions for scripting.' inputs: destination-path: description: 'The destination path in the repository where lua-addons should be installed.' required: true default: 'lua-addons' runs: using: 'composite' steps: - name: Copy lua-addons run: | cp -r ../dutchies-dcs-scripting-tools/lua-addons ./lua-addons shell: bash working-directory: ${{ github.action_path }} - name: Build action run: | npm ci npm run build shell: bash working-directory: ${{ github.action_path }} - name: Install lua-addons run: node ${{ github.action_path }}/dist/index.js shell: bash working-directory: ${{ github.workspace }} env: INPUT_DESTINATION-PATH: ${{ inputs.destination-path }}