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 EOF
- name: Release and upload assets - name: Release and upload assets
uses: softprops/action-gh-release@v1 uses: svenstaro/upload-release-action@v2
with: with:
name: latest repo_token: ${{ secrets.GITHUB_TOKEN }}
tag_name: latest release_name: ${{ env.RELEASE_NAME }}
draft: false tag: latest
prerelease: false file_glob: true
body_path: release.txt file: ./publish/*
files: |
./publish/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Git push assets to "release" branch - name: Git push assets to "release" branch
run: | run: |