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

View File

@@ -18,27 +18,17 @@ jobs:
- name: Set up JS environment
uses: ./.github/actions/setup-liberation-js
- name: Finalize version
run: |
New-Item -ItemType file resources\final
- name: mypy
uses: ./.github/actions/mypy
- name: Build front-end
uses: ./.github/actions/build-front-end
- name: Build binaries
- name: Finalize build
run: |
./venv/scripts/activate
$env:PYTHONPATH=".;./pydcs"
pyinstaller pyinstaller.spec
New-Item -ItemType file resources\final
- name: Create Installer
env:
TAG_NAME: ${{ github.ref }}
run: |
Copy-Item .\changelog.md .\dist
- name: Build app
uses: ./.github/actions/build-app
with:
release: true
- uses: actions/upload-artifact@v2
with: