Skip to content

Commit 01dc29a

Browse files
committed
feat: Package assets in CI
1 parent d3c1186 commit 01dc29a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build-postcompiler.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,16 @@ jobs:
3535
run: |
3636
python -m pip install -U setuptools pip wheel
3737
python -m pip install -r requirements.txt
38+
- name: Build assets
39+
run: |
40+
mkdir build
41+
mkdir build/bin
42+
mkdir build/bin/win64
43+
mkdir build/hammer
44+
python src/hammeraddons/build_fgd_assets.py -i patch_postcompiler.fgd -o build/hammer -a hammer
45+
3846
- name: Freeze application
39-
run: python -m PyInstaller --distpath ../build/ -y ../postcompiler.spec
47+
run: python -m PyInstaller --distpath ../build/bin/win64 -y ../postcompiler.spec
4048
working-directory: ./src/
4149
- name: Zip hammeraddons_${{ matrix.artifact-name }}
4250
uses: thedoctor0/zip-release@master

0 commit comments

Comments
 (0)