changed workflow default working directory

This commit is contained in:
k4yt3x 2020-05-12 02:40:55 -04:00
parent 8368cb1f49
commit 37547d1233

View File

@ -4,6 +4,10 @@ on:
push: push:
branches: [master] branches: [master]
defaults:
run:
working-directory: src
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
@ -25,7 +29,7 @@ jobs:
--onefile ` --onefile `
--add-data="wrappers;wrappers" ` --add-data="wrappers;wrappers" `
--icon="images\video2x.ico" ` --icon="images\video2x.ico" `
src/video2x.py video2x.py
- name: Build Video2X GUI - name: Build Video2X GUI
run: | run: |
pyinstaller --noconfirm --log-level=WARN ` pyinstaller --noconfirm --log-level=WARN `
@ -35,10 +39,10 @@ jobs:
--add-data="video2x_gui.ui;." ` --add-data="video2x_gui.ui;." `
--add-data="wrappers;wrappers" ` --add-data="wrappers;wrappers" `
--icon="images\video2x.ico" ` --icon="images\video2x.ico" `
src/video2x_gui.py video2x_gui.py
- name: Build Video2X Setup Script - name: Build Video2X Setup Script
run: | run: |
pyinstaller --noconfirm --log-level=WARN ` pyinstaller --noconfirm --log-level=WARN `
--onefile ` --onefile `
--icon="images\video2x.ico" ` --icon="images\video2x.ico" `
src/video2x_setup.py video2x_setup.py