From e44fbd57618e0297f156bbfd9a30b192d3deadde Mon Sep 17 00:00:00 2001 From: Gaius Date: Thu, 5 Sep 2024 10:30:44 +0800 Subject: [PATCH] chore: change release actions Signed-off-by: Gaius --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b026183..1bdb71e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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