Update workflows to use new buildscript location

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/16/head
trivernis 3 years ago
parent 76a0b13e5b
commit ed8ddf4d9f
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -91,7 +91,7 @@ jobs:
python-version: '^3.7'
- name: Build
run: python build.py build --daemon --verbose
run: python scripts/build.py daemon --verbose --install-tooling
- name: Upload artifacts
if: ${{ !env.ACT }}
@ -150,7 +150,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y
- name: Build project
run: python build.py build --ui --verbose
run: python scripts/build.py ui --verbose --install-tooling
- name: Upload artifacts
if: ${{ !env.ACT }}

@ -51,7 +51,7 @@ jobs:
python-version: '^3.7'
- name: Build Daemon
run: python build.py build --daemon --verbose
run: python scripts/build.py daemon --verbose --install-tooling
- uses: vimtor/action-zip@v1
with:
@ -113,7 +113,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y
- name: Build project
run: python build.py build --ui --verbose
run: python scripts/build.py ui --verbose --install-tooling
- uses: vimtor/action-zip@v1
with:

@ -62,10 +62,10 @@ def build(component: str, bundles: List[str] = None):
build_daemon()
build_ui(bundles)
elif component == 'daemon':
check_daemon_tooling(install_tooling)
check_daemon_tooling()
build_daemon()
elif component == 'ui':
check_ui_tooling()
check_ui_tooling(install_tooling)
build_ui(bundles)
print('Build complete')
@ -116,7 +116,7 @@ def store_artifact(path: str):
if os.path.isdir(path):
shut.copytree(path, os.path.join(
build_output, os.path.basename(path)), dirs_exist_ok=True)
else:
elif os.path.isfile(path):
shut.copy(path, build_output)

Loading…
Cancel
Save