Dedup pyinstaller actions.

This commit is contained in:
Dan Albert
2022-06-26 14:33:40 -07:00
parent 83af032bee
commit 9ab1dbab78
4 changed files with 31 additions and 35 deletions

22
.github/actions/build-app/action.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Build Liberation package
description: Assembles the full Liberation application.
runs:
using: composite
steps:
- name: Build client
shell: powershell
run: |
cd client
npm run build
- name: Build binaries
shell: powershell
run: |
./venv/scripts/activate
$env:PYTHONPATH=".;./pydcs"
pyinstaller pyinstaller.spec
- name: Install changelog
shell: powershell
run: |
Copy-Item .\changelog.md .\dist

View File

@@ -1,10 +0,0 @@
name: Front-end build
description: Builds the Liberation front-end.
runs:
using: composite
steps:
- name: Build client
shell: powershell
run: |
cd client
npm run build