diff --git a/.github/workflows/build_desktop.yml b/.github/workflows/build_desktop.yml index 8fc6b22c..81784fe5 100644 --- a/.github/workflows/build_desktop.yml +++ b/.github/workflows/build_desktop.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd4625fd..641c280e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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