From 77da407ebdf698133e921730f0ecb9d5db6d0c27 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Wed, 5 Nov 2025 11:00:54 -0500 Subject: [PATCH] ci: install generate deb in CI to validate --- .github/workflows/build_releases.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 64cb16f2..c78382d2 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -531,7 +531,7 @@ jobs: mv $TMP_NAME $(echo $TMP_NAME | sed "s/bottom/bottom-musl/") # TODO: Maybe rename version if nightly? - - name: Verify Debian release + - name: Verify generated Debian release id: verify run: | DEB_FILE=$(find bottom*_*.deb) @@ -539,6 +539,11 @@ jobs: dpkg -I $DEB_FILE | grep ${{ matrix.info.dpkg }} && echo "Found correct architecture" echo "DEB_FILE=$DEB_FILE" >> $GITHUB_OUTPUT + - name: Test installing generated Debian release + run: | + apt install ${{ steps.verify.outputs.DEB_FILE }} -y + btm -V + - name: Delete generated Debian folder run: | sudo chown $USER ./target/debian/ 2>/dev/null || true