Skip to content

Commit

Permalink
feat: Package assets in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ozxybox committed Nov 7, 2024
1 parent d3c1186 commit ae04cf0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-postcompiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,17 @@ jobs:
run: |
python -m pip install -U setuptools pip wheel
python -m pip install -r requirements.txt
- name: Build assets
run: |
mkdir build
mkdir build/bin
mkdir build/bin/win64
mkdir build/hammer
robocopy hammer/scripts build/hammer/scripts /S /PURGE
python src/hammeraddons/build_fgd_assets.py -i patch_postcompiler.fgd -o build/hammer -a hammer
- name: Freeze application
run: python -m PyInstaller --distpath ../build/ -y ../postcompiler.spec
run: python -m PyInstaller --distpath ../build/bin/win64 -y ../postcompiler.spec
working-directory: ./src/
- name: Zip hammeraddons_${{ matrix.artifact-name }}
uses: thedoctor0/zip-release@master
Expand Down

0 comments on commit ae04cf0

Please sign in to comment.