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