mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 02:27:10 +00:00
Make desktop app workflow apt update before install of linux packages
- See if this fixes the issue with the workflows failing to install system packages - Make the build desktop app run on changes to the workflow file as well
This commit is contained in:
parent
16c6bfce8e
commit
e42fd8ae91
2 changed files with 3 additions and 2 deletions
3
.github/workflows/build_desktop.yml
vendored
3
.github/workflows/build_desktop.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
||||||
- src/khoj/**
|
- src/khoj/**
|
||||||
- pyproject.toml
|
- pyproject.toml
|
||||||
- Khoj.spec
|
- Khoj.spec
|
||||||
|
- .github/workflows/build_desktop.yml
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -39,7 +40,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||||
sudo apt install libegl1 libxcb-xinerama0 python3-tk -y
|
sudo apt update && sudo apt install libegl1 libxcb-xinerama0 python3-tk -y
|
||||||
fi
|
fi
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||||
sudo apt install libegl1 libxcb-xinerama0 python3-tk -y
|
sudo apt update && sudo apt install libegl1 libxcb-xinerama0 python3-tk -y
|
||||||
fi
|
fi
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
Loading…
Reference in a new issue