windows package
This commit is contained in:
36
.github/workflows/build-windows.yml
vendored
Normal file
36
.github/workflows/build-windows.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: MoviePilot Windows Builder
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- version.py
|
||||
- .github/workflows/build-windows.yml
|
||||
|
||||
jobs:
|
||||
Windows-build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Init Python 3.11.4
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11.4'
|
||||
- name: Install Dependent Packages
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install wheel numpy==1.23.5 pyparsing==3.0.9 wxpython==4.2.0 pyinstaller==5.7.0
|
||||
git clone --depth=1 -b main https://github.com/jxxghp/MoviePilot
|
||||
cd MoviePilot
|
||||
pip install -r requirements.txt
|
||||
shell: pwsh
|
||||
- name: Pyinstaller
|
||||
run: |
|
||||
cd MoviePilot
|
||||
pyinstaller windows.spec
|
||||
shell: pwsh
|
||||
- name: Upload Windows File
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows
|
||||
path: MoviePilot/dist/MoviePilot.exe
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: MoviePilot Builder
|
||||
name: MoviePilot Docker Builder
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
Reference in New Issue
Block a user