added pywin32 to fix build issues, renamed artifacts

This commit is contained in:
k4yt3x 2020-05-12 03:31:34 -04:00
parent f7d8d551b3
commit 12673f1c37

View File

@ -20,9 +20,9 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
python -m pip install -U pip
pip install -U pyinstaller pywin32
pip install -U -r requirements.txt
- name: Build Video2X CLI
run: |
pyinstaller --noconfirm --log-level=WARN `
@ -48,13 +48,13 @@ jobs:
video2x_setup.py
- name: Collect artifacts into folder
run: |
New-Item "nightly-light\" -ItemType Directory
Copy-Item "dist\video2x.exe" -Destination "nightly-light\"
Copy-Item "dist\video2x_gui.exe" -Destination "nightly-light\"
Copy-Item "dist\video2x_setup.exe" -Destination "nightly-light\"
Copy-Item "video2x.yaml" -Destination "nightly-light\"
New-Item "video2x-nightly-win32-light\" -ItemType Directory
Copy-Item "dist\video2x.exe" -Destination "video2x-nightly-win32-light\"
Copy-Item "dist\video2x_gui.exe" -Destination "video2x-nightly-win32-light\"
Copy-Item "dist\video2x_setup.exe" -Destination "video2x-nightly-win32-light\"
Copy-Item "video2x.yaml" -Destination "video2x-nightly-win32-light\"
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: nightly-light
path: src/nightly-light/
name: video2x-nightly-win32-light
path: src/video2x-nightly-win32-light/