Skip to content

Commit

Permalink
chore: change release actions
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Sep 5, 2024
1 parent 437d56f commit e44fbd5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,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
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
merge-multiple: true

- name: Release
uses: softprops/action-gh-release@v2
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
Expand Down

0 comments on commit e44fbd5

Please sign in to comment.