Skip to content

Commit c9bf372

Browse files
authored
Create build.yml
1 parent bdd17b3 commit c9bf372

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build LS files
2+
3+
on:
4+
push:
5+
workflow_call:
6+
7+
jobs:
8+
build-ls-files:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repository code
12+
uses: actions/checkout@v4
13+
14+
- name: Clone Eluna documentation repository
15+
uses: actions/checkout@v4
16+
with:
17+
repository: ElunaLuaEngine/ElunaLuaEngine.github.io
18+
path: docs
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.x'
24+
architecture: 'x64'
25+
26+
- name: Install Python dependencies
27+
run: pip install beautifulsoup4
28+
29+
- name: Create build directory
30+
run: mkdir -p ./build
31+
32+
- name: Compile LS files
33+
run: |
34+
bash runParser.sh ./parser.py ./docs ./build

0 commit comments

Comments
 (0)