mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Fix fpm command and install libegl1 on linux runner
This commit is contained in:
parent
c422967276
commit
f3be84d8b9
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -29,6 +29,9 @@ jobs:
|
|||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
apt install libegl1 -y
|
||||
fi
|
||||
python -m pip install --upgrade pip
|
||||
pip install pyinstaller
|
||||
|
||||
|
@ -83,7 +86,7 @@ jobs:
|
|||
chmod 644 package/opt/Khoj
|
||||
|
||||
# Package the app
|
||||
fpm -s dir -t deb -n Khoj --version "$GITHUB_REF_NAME" -p dist/Khoj.deb
|
||||
fpm -C package -s dir -t deb -n "Khoj" --version "$GITHUB_REF_NAME" -p dist/Khoj.deb
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if : matrix.os == 'macos-latest'
|
||||
|
|
Loading…
Reference in a new issue