mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix fpm command and install libegl1 on linux runner
This commit is contained in:
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'
|
||||||
|
|||||||
Reference in New Issue
Block a user