From 5ddb7813b68a69e2dc88fe717c7e3c1d72b1be08 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 | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 059397d4df..9155fd1f2a 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -247,17 +247,13 @@ jobs: EOF - name: Release and upload assets - uses: softprops/action-gh-release@v1 + uses: svenstaro/upload-release-action@v2 with: - name: latest - tag_name: latest - draft: false - prerelease: false - body_path: release.txt - files: | - ./publish/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} + release_name: ${{ env.RELEASE_NAME }} + tag: latest + file_glob: true + file: ./publish/* - name: Git push assets to "release" branch run: |