From bf0dd8bb98633d2ff9d6f56a3ce722a706e2f5e7 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Mon, 5 Jun 2023 16:09:17 +0800 Subject: [PATCH] Release: use @svenstaro/upload-release-action to make releases --- .github/workflows/run.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index d97628c..520bb39 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -180,16 +180,13 @@ jobs: sha256sum rules.zip > rules.zip.sha256sum - name: Release and upload assets - uses: softprops/action-gh-release@v0.1.6 + uses: svenstaro/upload-release-action@v2 with: - name: ${{ env.RELEASE_NAME }} - tag_name: ${{ env.TAG_NAME }} - draft: false - prerelease: false - files: | - ./publish/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} + release_name: ${{ env.RELEASE_NAME }} + tag: ${{ env.TAG_NAME }} + file_glob: true + file: ./publish/* - name: Git push assets to "release" branch run: |