Release: use @svenstaro/upload-release-action to make releases

This commit is contained in:
Loyalsoldier 2023-06-05 16:09:17 +08:00 committed by Larvan2
parent aa1a916771
commit 5ddb7813b6

View File

@ -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: |