From ae66187dc2b361568390e57c1089dd079d85cddc Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Sat, 12 Oct 2024 05:58:54 +0000 Subject: [PATCH] Fix GitHub Action for building Debian package (#1410) - Update before installing - Use `apt-get` instead of `apt`, which "does not have a stable CLI interface" --- .github/workflows/deb.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index cf1ad630..b4953ac8 100644 --- a/.github/workflows/deb.yml +++ b/.github/workflows/deb.yml @@ -27,7 +27,8 @@ jobs: with: submodules: 'true' - - run: sudo apt install build-essential debhelper meson gettext pkg-config libglib2.0-dev gjs appstream libgjs-dev libgtk-4-dev libadwaita-1-dev libwebkitgtk-6.0-dev desktop-file-utils + - run: sudo apt-get update + - run: sudo apt-get install build-essential debhelper meson gettext pkg-config libglib2.0-dev gjs appstream libgjs-dev libgtk-4-dev libadwaita-1-dev libwebkitgtk-6.0-dev desktop-file-utils - run: dpkg-buildpackage -us -uc -nc - run: mv ../*.deb . - uses: actions/upload-artifact@v4