Skip to content

Commit 6b154f3

Browse files
committed
build: Update AppImage build process
1 parent 5231257 commit 6b154f3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/glpi-agent-packaging.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,23 @@ jobs:
688688

689689
steps:
690690
- uses: actions/checkout@v4
691+
- name: Install build dependencies packages
692+
run: |
693+
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
694+
sudo apt update
695+
sudo apt dist-upgrade
696+
sudo apt -y install pipx zsync
697+
shell: bash
691698
# We use AppImage Builder development version as 1.1 is failing
692699
- name: Install AppImage Builder development version
693700
id: install-appimage-builder
694701
run: |
695-
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
702+
if command -v pipx >/dev/null; then
703+
echo ~/.local/bin >> $GITHUB_PATH
704+
pipx install git+https://github.com/AppImageCrafters/appimage-builder.git
705+
else
706+
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
707+
fi
696708
shell: bash
697709
- uses: actions/download-artifact@v4
698710
with:

0 commit comments

Comments
 (0)