mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01: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/**
|
||||
- pyproject.toml
|
||||
- Khoj.spec
|
||||
- .github/workflows/build_desktop.yml
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -39,7 +40,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
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
|
||||
python -m pip install --upgrade pip
|
||||
pip install pyinstaller
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
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
|
||||
python -m pip install --upgrade pip
|
||||
pip install pyinstaller
|
||||
|
|
Loading…
Reference in a new issue