mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +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:
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
|
||||
|
||||
Reference in New Issue
Block a user