mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
fix(ci): more tweaking to the deb releases configuration (#424)
This commit is contained in:
parent
8ad4a9953d
commit
ea6deef11b
9
.github/workflows/cd.yml
vendored
9
.github/workflows/cd.yml
vendored
@ -245,6 +245,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cp man/tv.1 "$DEPLOY_DIR/"
|
cp man/tv.1 "$DEPLOY_DIR/"
|
||||||
|
|
||||||
|
- name: Check dependencies
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cargo tree --target ${{ matrix.target }} --no-dedupe
|
||||||
|
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -253,8 +258,10 @@ jobs:
|
|||||||
sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu
|
sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu
|
||||||
fi
|
fi
|
||||||
version="${{ github.ref_name }}"
|
version="${{ github.ref_name }}"
|
||||||
DEB_NAME="tv-$version-${{ matrix.arch }}.deb"
|
DEB_NAME="tv-$version-${{ matrix.target }}.deb"
|
||||||
DEB_DIR="target/${{ matrix.target }}/debian"
|
DEB_DIR="target/${{ matrix.target }}/debian"
|
||||||
|
|
||||||
|
# Build the actual binary
|
||||||
cargo deb --profile deb --target ${{ matrix.target }} -o "$DEB_DIR/$DEB_NAME"
|
cargo deb --profile deb --target ${{ matrix.target }} -o "$DEB_DIR/$DEB_NAME"
|
||||||
echo "DEB_DIR=$DEB_DIR" >> $GITHUB_ENV
|
echo "DEB_DIR=$DEB_DIR" >> $GITHUB_ENV
|
||||||
echo "DEB_NAME=$DEB_NAME" >> $GITHUB_ENV
|
echo "DEB_NAME=$DEB_NAME" >> $GITHUB_ENV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user