mirror of
https://github.com/infeeeee/dyn2py
synced 2025-12-16 22:16:18 +01:00
Windows installer, reorganize workflows
This commit is contained in:
28
.github/workflows/build-exe.yml
vendored
Normal file
28
.github/workflows/build-exe.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
name: Workflow - Build exe
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
name: Build Windows exe
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
- uses: actions/setup-python@v4
|
||||
name: Setup Python
|
||||
with:
|
||||
python-version: ${{ vars.PYTHON_VERSION}}
|
||||
- name: Install deps
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install .[build]
|
||||
- name: Build
|
||||
run: pyinstaller dyn2py.spec
|
||||
- uses: actions/upload-artifact@v3
|
||||
name: Upload artifact
|
||||
with:
|
||||
name: dyn2py.exe
|
||||
path: dist/dyn2py.exe
|
||||
Reference in New Issue
Block a user