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' python-version: '^3.7'
- name: Build - name: Build
run: python build.py build --daemon --verbose run: python scripts/build.py daemon --verbose --install-tooling
- name: Upload artifacts - name: Upload artifacts
if: ${{ !env.ACT }} 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 DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y
- name: Build project - name: Build project
run: python build.py build --ui --verbose run: python scripts/build.py ui --verbose --install-tooling
- name: Upload artifacts - name: Upload artifacts
if: ${{ !env.ACT }} if: ${{ !env.ACT }}

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

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

Loading…
Cancel
Save