chore: build archive client RPM

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2024-09-04 16:01:52 +08:00
parent 91675dc96e
commit b200aef6dd
No known key found for this signature in database
GPG Key ID: 647A0EE86907F1AF
1 changed files with 7 additions and 7 deletions

View File

@ -78,13 +78,13 @@ jobs:
cargo deb -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.deb
echo "CLIENT_DEB_ASSET=$dirname.deb" >> $GITHUB_ENV
# - name: Build archive client(RPM)
# shell: bash
# run: |
# binary_name="client"
# dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
# cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.rpm
# echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV
- name: Build archive client(RPM)
shell: bash
run: |
binary_name="client"
dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --output $dirname.rpm
echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV
- name: Build archive client(TAR)
shell: bash