From ea6deef11b68fc3b928d03f20d0ee7fcf0dd15da Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Thu, 20 Mar 2025 23:44:45 +0100 Subject: [PATCH] fix(ci): more tweaking to the deb releases configuration (#424) --- .github/workflows/cd.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 656f182..7b14a3e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -245,6 +245,11 @@ jobs: run: | cp man/tv.1 "$DEPLOY_DIR/" + - name: Check dependencies + shell: bash + run: | + cargo tree --target ${{ matrix.target }} --no-dedupe + - name: Build release binary shell: bash run: | @@ -253,8 +258,10 @@ jobs: sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu fi version="${{ github.ref_name }}" - DEB_NAME="tv-$version-${{ matrix.arch }}.deb" + DEB_NAME="tv-$version-${{ matrix.target }}.deb" DEB_DIR="target/${{ matrix.target }}/debian" + + # Build the actual binary cargo deb --profile deb --target ${{ matrix.target }} -o "$DEB_DIR/$DEB_NAME" echo "DEB_DIR=$DEB_DIR" >> $GITHUB_ENV echo "DEB_NAME=$DEB_NAME" >> $GITHUB_ENV