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 GitHub
parent 7d24a931c8
commit bf0dd8bb98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,16 +180,13 @@ jobs:
sha256sum rules.zip > rules.zip.sha256sum sha256sum rules.zip > rules.zip.sha256sum
- name: Release and upload assets - name: Release and upload assets
uses: softprops/action-gh-release@v0.1.6 uses: svenstaro/upload-release-action@v2
with: with:
name: ${{ env.RELEASE_NAME }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.TAG_NAME }} release_name: ${{ env.RELEASE_NAME }}
draft: false tag: ${{ env.TAG_NAME }}
prerelease: false file_glob: true
files: | file: ./publish/*
./publish/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Git push assets to "release" branch - name: Git push assets to "release" branch
run: | run: |