Create multiple workflows for different actions
This commit is contained in:
@@ -22,8 +22,9 @@ Get the extension here: https://marketplace.visualstudio.com/items?itemName=dutc
|
||||
### Features:
|
||||
|
||||
- [x] Compile the mission script just like in the VS Code extension, but in a Github Action.
|
||||
- [x] Install Lua addons and type definitions for scripting linter support on agents
|
||||
|
||||
### Usage:
|
||||
### Compile Script:
|
||||
|
||||
```yaml
|
||||
|
||||
@@ -46,4 +47,19 @@ jobs:
|
||||
path: output/compiled.lua
|
||||
|
||||
|
||||
```
|
||||
|
||||
### Add Lua Types
|
||||
|
||||
```yaml
|
||||
name: Install Lua Addons
|
||||
on: [push]
|
||||
jobs:
|
||||
install-lua-addons:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dutchie031/DcsMissionScriptingTools/github-actions/install-lua-addon@action/v1
|
||||
with:
|
||||
destination-path: 'lua-addons'
|
||||
```
|
||||
Reference in New Issue
Block a user