mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
added pywin32 to fix build issues, renamed artifacts
This commit is contained in:
parent
f7d8d551b3
commit
12673f1c37
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user