mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00: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
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||||
|
apt install libegl1 -y
|
||||||
|
fi
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
||||||
|
@ -83,7 +86,7 @@ jobs:
|
||||||
chmod 644 package/opt/Khoj
|
chmod 644 package/opt/Khoj
|
||||||
|
|
||||||
# Package the app
|
# 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
|
- uses: actions/upload-artifact@v3
|
||||||
if : matrix.os == 'macos-latest'
|
if : matrix.os == 'macos-latest'
|
||||||
|
|
Loading…
Add table
Reference in a new issue